Urgent Default gateway problem


I have an ip configuration and route print (i have given them manually ip is static too). I have a firewall which is internal ip is and i want my laptop to go through that firewall. ipconfig of my laptop

Destination Gateway Genmask Flags Metric Ref Use Iface * U 0 0 0 eth0 UG 0 0 0 eth0 UG 0 0 0 eth0
loopback * U 0 0 0 lo

I have 2 gws/switches from my laptop to firewall which is and . I can ping the (the firewall) from this route. But when i try to do below

route add default gw i got the error
SIOCADDRT:No such process.

What must be the correct configuration to use the firewall for my laptop and how can i fix the last error.


You will probably find it easier to configure your network settings in Yast’s Network Devices, Network Settings screen

And if you’re using static ip addressing through a gateway on I would have thought it would make sense to set the laptop’s ip as something like


Your default gateway must be on the same ip subnet as your machine.

When you say you want your laptop to use what do you mean.

You already have a route to this device. Do you mean that you want all internet traffic from the laptop to go via this firewall ?

Add a separate interface to your laptop for the subnet or an additional interface to the firewall on the network.

Regardless the default gateway must be on the same subnet.


Tux-IT Open Source - BSD and Linux Solutions