I'm trying to upgrade my firewall and seem to be stuck getting a default route out to the rest of the world. The firewalls internal address is 10.0.0.10 which is connected to a mutli-homed host on 10.0.0.0. & 192.168.0.0. below is the routing table and interface info for the host. Everything works fine at this point.

Setup looks like this:
broadband -> firewall -> multi-homed host -> switch -> internal network

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              10.0.0.10            UG        2          1 rge0
10.0.0.0             10.0.0.1             U         5      10372 rge0
127.0.0.1            127.0.0.1            UH        2        312 lo0
192.168.0.0          192.168.0.1          U         9    8804063 rge1

rge0: flags=1100943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,ROUTER,IPv4> mtu 1500 index 2
      inet 10.0.0.1 netmask ffffff00 broadcast 10.0.0.255
rge1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 3
      inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255

So I setup the new firewall at an internal address of 10.0.0.20, recreate my rules, setup the wan port to be identical to the old firewall. Check, double check, triple check... yep everything is setup exactly the same except for the internal address of 10.0.0.20

Ok, so now I turn off the broadband modem, shutdown the host, replace the firewall. Turn on the modem, turn on the firewall, boot the host and login. I can ping any address on both internal networks, the firewall and wan port but nothing beyond. Looking at the new routing table the 24.0.0.0 seems to be wrong to me.

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
10.0.0.0             10.0.0.1             U         3          6 rge0
24.0.0.0             10.0.0.20            UG        1          0 rge0
127.0.0.1            127.0.0.1            UH        2         12 lo0
192.168.0.0          192.168.0.1          U         4         24 rge1

so I try:

route delete 24.0.0.0 10.0.0.20
route add default 10.0.0.20 and get network unreachable...

How do I get my default route back?

--
  Robert W Hartzell
bear at rwhartzell.net
  RwHartzell.Net
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to