[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

default route question.



I am running a openbsd-3.3 pf firewall with a cable modem "comcast".

A question about the default route, i must be reading this incorrect.

ok, The ip address on my external interface,,,via dhcp from my isp.

TraNsLaToR# ifconfig ep2
ep2: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        address: 00:60:97:22:5c:3c
        media: Ethernet 10baseT
        inet6 fe80::260:97ff:fe22:5c3c%ep2 prefixlen 64 scopeid 0x6
        inet 12.210.147.136 netmask 0xfffff800 broadcast 255.255.255.255


now my routing table:


TraNsLaToR# route show
Routing tables

Internet:
Destination      Gateway            Flags 
default          12-210-144-1.clien UG     
12-210-144-0.cli link#6             U      
12-210-144-1.cli 0:50:57:0:7a:23    UH     
12-210-147-136.c localhost          UGH    
127.0.0.0        localhost          UG     
localhost        localhost          UH     
172.16.0.0       link#3             U      
192.168.0.0      link#1             U      
192.168.0.8      0:e0:4c:a2:be:4d   UH     
                 0:1:2:67:10:3a     UH     
192.168.0.12     0:60:8:9c:e:a4     UH     
192.168.1.8      link#4             U      
192.168.1.10     0:0:24:c8:0:54     UH     
BASE-ADDRESS.MCA localhost          U      

Internet6:
Destination      Gateway            Flags 
default          localhost.nic.fr   UG     
default          localhost.nic.fr   UG     
localhost.nic.fr localhost.nic.fr   UH     
::127.0.0.0      localhost.nic.fr   UGH    
::224.0.0.0      localhost.nic.fr   UGH    
::255.0.0.0      localhost.nic.fr   UGH    
::ffff:0.0.0.0   localhost.nic.fr   UGH    
2002::           localhost.nic.fr   UG     
2002:7f00::      localhost.nic.fr   UG     
2002:e000::      localhost.nic.fr   UG     
2002:ff00::      localhost.nic.fr   UG     
fe80::           localhost.nic.fr   UGH    
fe80::%xl0       link#1             U      
fe80::260:8ff:fe9c:bd9%xl0 0:60:8:9c:b:d9     UH     
fe80::%xl2       link#3             U      
fe80::210:4bff:fe24:631c%xl2 0:10:4b:24:63:1c   UH     
fe80::%xl3       link#4             U      
fe80::260:8ff:fe9c:e3f%xl3 0:60:8:9c:e:3f     UH     
fe80::%ep2       link#6             U      
fe80::260:97ff:fe22:5c3c%ep2 0:60:97:22:5c:3c   UH     
fe80::%lo0       fe80::1%lo0        U      
fe80::1%lo0      link#9             UH     
fec0::           localhost.nic.fr   UGH    
ff01::           localhost.nic.fr   U      
ff02::%xl0       link#1             U      
ff02::%xl2       link#3             U      
ff02::%xl3       link#4             U      
ff02::%ep2       link#6             U      
ff02::%lo0       localhost.nic.fr   U      



how can my default route be 

default          12-210-144-1.clien UG 

when my address on the ex. interface is not in the same subnet?

if my ex. interface addy is 

12.210.147.136 ...should not my default GW be on the 12.210.147.0
network.
i would have thought it would be .1 as in 12.210.147.1

anyways am i reading this wrong?



    

-- 
  KroNiC~BSD
  kronic_bsd@fastmail.fm

-- 
http://www.fastmail.fm - Does exactly what it says on the tin