Koozali.org: home of the SME Server

How to fix routing table?

Onne Kasut

How to fix routing table?
« on: September 04, 2003, 06:23:34 PM »
Hey!
I want SME 6.0 beta3 become a gateway for local network, had external ip adress(213.168.16.172) local network 192.168.10.0 and ISP gateway 192.168.0.1
eth1 is connected using direct cable to 192.168.0.1
Post install there was no gateway in routing table. Ok, gateway address is extraordinary. I can add default gateway with route add command, everything works fine, but how I can get off that last row in routing table? I (newbie in linux & routing) think, that not normal 2 "default" rows here? Or messed I everything?


Kernel IP routing table
Destination       Gateway      Genmask                Flags   Metric   Ref   Use   Iface
213.168.16.172 *                  255.255.255.255      UH      0          0       0      eth1
192.168.10.0    *                  255.255.255.0          U        0          0       0      eth0
127.0.0.0         *                  255.0.0.0                 U        0          0       0       lo
default            192.168.0.1   0.0.0.0                     UG     0          0       0      eth1
default            *                   0.0.0.0                     U       0          0       0      eth1

Yours Onne
with his stoopid questions