View Single Post
  #7   (View Single Post)  
Old 27th October 2009
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Default

Hmm...

Well, this is what I have:

209.x.y.49 -> enterprise
209.x.y.50 -> andromeda
209.x.y.51 -> tardis
209.x.y.52 -> unassigned
209.x.y.53 -> wireless router

(48, 54, and 55 are unusable)

And when I do netstat -nr I get this:

Code:
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.0.1.1           UGS         0        2    rl0
10.0.1.0/24        link#2             UC          0        0    rl0
10.0.1.1           00:16:cb:c6:3e:19  UHLW        2        0    rl0   1191
10.0.1.6           00:90:f5:3e:fc:9c  UHLW        1    44436    rl0   1191
127.0.0.1          127.0.0.1          UH          0        0    lo0
209.x.y.48/29      link#1             UC          0        0   fxp0
209.x.y.53         00:16:cb:c6:3e:19  UHLW        1       51   fxp0   1187
(I've left out the Internet6 stuff)

On the linux machine (tardis) I get:

Code:
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
209.x.y.48      0.0.0.0         255.255.255.248 U         0 0          0 eth0
10.0.1.0        0.0.0.0         255.255.255.0   U         0 0          0 wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         209.x.y.54      0.0.0.0         UG        0 0          0 eth0
Not too well-versed with routing tables, so not sure what that means. I notice that .53 is in the first routing table. Is it possible that it's using that instead of 54?

Edit:

I restarted the machine, and changed around the order of the interfaces in rc.conf (not sure if that changes anything):

Code:
hostname="andromeda.is-a-geek.net"
ifconfig_rl0="DHCP"
ifconfig_fxp0="inet 209.x.y.50  netmask 255.255.255.248"
defaultrouter="209.x.y.54"
I ran netstat -nr again and got:

Code:
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.0.1.1           UGS         0        3    rl0
10.0.1.0/24        link#2             UC          0        0    rl0
10.0.1.1           00:16:cb:c6:3e:19  UHLW        2       10    rl0   1171
10.0.1.196         00:30:1b:19:df:f8  UHLW        1        0    rl0   1057
10.0.1.255         ff:ff:ff:ff:ff:ff  UHLWb       1       23    rl0
127.0.0.1          127.0.0.1          UH          0        4    lo0
209.x.y.48/29      link#1             UC          0        0   fxp0
209.x.y.53         00:16:cb:c6:3e:19  UHLW        1       73   fxp0   1085
209.x.y.54         link#1             UHLW        1        0   fxp0

Last edited by vi5in; 27th October 2009 at 10:06 PM.
Reply With Quote