Try storing the value as a string and using quotes:
CREATE TABLE ipdetails( ip_address varchar(15) NOT NULL, vlan_id varchar(50) );
and then . . .
INSERT INTO ipdetails VALUES ('192.169.698.365', 'Sample1')
You might want to store each component in a separate field.