login
Header Space

 
 

Re: Default Route Issues

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Cc: Stuart Henderson <stu@...>
Date: Tuesday, December 11, 2007 - 11:36 am

Greets

OK here is the update:

Internet
     I
OpenBSD 4.2 (1) ------- wired LAN
      I
wireless card - 10.60.128.1
      I
      I
(the following is the problem box)
      I
wireless card ral0 - 10.60.128.2
      I
OpenBSD 4.2 (2)---- wired LAN em0 - 10.60.130.1
      I
wireless card ral1 - 10.60.129.1

I am pulling this info off another server/router that I have at home so 
the vr0 interface is replaced with the em0

First ifconfig -A,  netstat -rnfinet without the wired lan (em0) enabled.

*ifconfig -A*

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
    groups: lo
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:08:a1:ad:0a:32
    groups: wlan egress
    media: IEEE802.11 OFDM54 mode 11g (DS1 mode 11g)
    status: active
    ieee80211: nwid tri-statebroadband.com_2 chan 3 bssid 
00:08:a1:ad:0a:46 50dB 100dBm
    inet 10.60.128.2 netmask 0xffffc000 broadcast 10.60.191.255
    inet6 fe80::208:a1ff:fead:a32%ral0 prefixlen 64 scopeid 0x1
ral1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:08:a1:b5:64:e2
    groups: wlan
    media: IEEE802.11 OFDM54 mode 11g hostap (autoselect mode 11g hostap)
    status: active
    ieee80211: nwid tri-statebroadband.com_2_1 chan 1 bssid 
00:08:a1:b5:64:e2 100dBm
    inet 10.60.129.1 netmask 0xffffc000 broadcast 10.60.191.255
    inet6 fe80::208:a1ff:feb5:64e2%ral1 prefixlen 64 scopeid 0x2
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:e0:81:65:f2:4d
    media: Ethernet autoselect (none)
    status: no carrier
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:e0:81:65:f2:4c
    media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
    status: active
pflog0: flags=0<> mtu 33224
enc0: flags=0<> mtu 1536



*netstat -rnfinet*

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu  
Interface
default            10.60.128.1        UGS         3       89      -   ral0
10.60.128/18       link#1             UC          1        0      -   ral0
10.60.128.1        00:08:a1:ad:0a:46  UHLc        1        8      -   ral0
127/8              127.0.0.1          UGRS        0        0  33224   lo0
127.0.0.1          127.0.0.1          UH          1        0  33224   lo0
224/4              127.0.0.1          URS         0        0  33224   lo0

at this time I can ping the OpenBSD (1) server fine everything works,
I now enable em0 and reboot to get the following, ( I do not have 
routed_flags="-q" enabled but I get the same results if I do have it 
enabled.

*ifconfig -A

*lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
    groups: lo
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:08:a1:ad:0a:32
    groups: wlan egress
    media: IEEE802.11 OFDM54 mode 11g (OFDM36 mode 11g)
    status: active
    ieee80211: nwid tri-statebroadband.com_2 chan 3 bssid 
00:08:a1:ad:0a:46 50dB 100dBm
    inet 10.60.128.2 netmask 0xffffc000 broadcast 10.60.191.255
    inet6 fe80::208:a1ff:fead:a32%ral0 prefixlen 64 scopeid 0x1
ral1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:08:a1:b5:64:e2
    groups: wlan
    media: IEEE802.11 OFDM54 mode 11g hostap (autoselect mode 11g hostap)
    status: active
    ieee80211: nwid tri-statebroadband.com_2_1 chan 1 bssid 
00:08:a1:b5:64:e2 100dBm
    inet 10.60.129.1 netmask 0xffffc000 broadcast 10.60.191.255
    inet6 fe80::208:a1ff:feb5:64e2%ral1 prefixlen 64 scopeid 0x2
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:e0:81:65:f2:4d
    media: Ethernet autoselect (none)
    status: no carrier
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:e0:81:65:f2:4c
    media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
    status: active
    inet 10.60.130.1 netmask 0xffffc000 broadcast 10.60.191.255
    inet6 fe80::2e0:81ff:fe65:f24c%em0 prefixlen 64 scopeid 0x4
pflog0: flags=0<> mtu 33224
enc0: flags=0<> mtu 1536

*netstat -rnfinet

*Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu  
Interface
default            10.60.128.1        UGS         0        0      -   ral0
10.60.128/18       link#4             UC          1        0      -   em0
10.60.128.1        link#4             UHLc        2       13      -   em0
127/8              127.0.0.1          UGRS        0        0  33224   lo0
127.0.0.1          127.0.0.1          UH          1        0  33224   lo0
224/4              127.0.0.1          URS         0        0  33224   lo0

As you can see I now have a fubared routing table. I can no longer ping 
OpenBSD (1), I have tried to do a route flush and manual route add but 
it always comes back to this.




Stuart Henderson wrote:

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Default Route Issues, Bret, (Mon Dec 10, 10:58 pm)
Re: Default Route Issues, Stuart Henderson, (Tue Dec 11, 7:02 am)
Re: Default Route Issues, Bret, (Tue Dec 11, 11:40 am)
Re: Default Route Issues, Insan Praja SW, (Tue Dec 11, 11:59 am)
Re: Default Route Issues, Stuart Henderson, (Tue Dec 11, 12:05 pm)
Re: Default Route Issues, Bret, (Fri Dec 14, 10:30 pm)
Re: Default Route Issues, Bret, (Tue Dec 11, 10:07 pm)
Re: Default Route Issues, Bret, (Tue Dec 11, 11:36 am)
Re: Default Route Issues, Greg Thomas, (Mon Dec 10, 10:38 pm)
speck-geostationary