>
> Hi,
>
> I am probably screwing something up :-)
>
> netstat -rn shows:
>
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif
> Expire
> 127.0.0.1          127.0.0.1          UH          4       31      lo0
> aaa.bbb.ccc.16/28  link#5             UC          1        0      wi0 =>
>
> aaa.bbb.ccc.17     aaa.bbb.ccc.27     UHS         1        0      wi0
>
> ifconfig -a shows:
>
> fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>         inet aaa.bbb.ccc.26 netmask 0xfffffff0 broadcast 216.233.173.31
>         ether 08:00:46:05:95:32
>         media: autoselect (10baseT/UTP) status: active
>         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet aaa.bbb.ccc.27 netmask 0xfffffff0 broadcast 216.233.173.31
>         ether 00:02:2d:3a:4c:fd
>
> I am trying to add a default route to go to aaa.bbb.ccc.17 via the wi0
> interface, but it appears that since the fxp0 interface was configured
> first (even though it is down at the moment) that the route always ends
> up going through  it!
>
> I tried:
>
> route add -ifa aaa.bbb.ccc.27 default aaa.bbb.ccc.17
>
> but the default route still showed up as going through the fxp0
> interface. Anyone see what I might be doing wrong with the route command
> here, or is it broken? This is on current as of 05/01/01....
>
> Lars
--- Begin Message ---
The original message was received at Fri, 7 Dec 2001 15:12:40 -0600 (CST)
from localhost [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<net@freebsd>
    (reason: 550 Host unknown)

   ----- Transcript of session follows -----
550 5.1.2 <net@freebsd>... Host unknown (Name server: freebsd: host not found)
Reporting-MTA: dns; munin.odin-corporation.com
Received-From-MTA: DNS; localhost
Arrival-Date: Fri, 7 Dec 2001 15:12:40 -0600 (CST)

Final-Recipient: RFC822; net@freebsd
Action: failed
Status: 5.1.2
Remote-MTA: DNS; freebsd
Diagnostic-Code: SMTP; 550 Host unknown
Last-Attempt-Date: Fri, 7 Dec 2001 15:12:41 -0600 (CST)
--- Begin Message ---
Hi,

I am probably screwing something up :-)

netstat -rn shows:

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
127.0.0.1          127.0.0.1          UH          4       31      lo0
aaa.bbb.ccc.16/28  link#5             UC          1        0      wi0 =>

aaa.bbb.ccc.17     aaa.bbb.ccc.27     UHS         1        0      wi0

ifconfig -a shows:

fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        inet aaa.bbb.ccc.26 netmask 0xfffffff0 broadcast 216.233.173.31
        ether 08:00:46:05:95:32
        media: autoselect (10baseT/UTP) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet aaa.bbb.ccc.27 netmask 0xfffffff0 broadcast 216.233.173.31
        ether 00:02:2d:3a:4c:fd

I am trying to add a default route to go to aaa.bbb.ccc.17 via the wi0
interface, but it appears that since the fxp0 interface was configured
first (even though it is down at the moment) that the route always ends
up going through  it!


I tried:

route add -ifa aaa.bbb.ccc.27 default aaa.bbb.ccc.17

but the default route still showed up as going through the fxp0
interface. Anyone see what I might be doing wrong with the route command
here, or is it broken? This is on current as of 05/01/01....


Lars



--- End Message ---
--- End Message ---

Reply via email to