Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2003 18:27:50 -0500
From:      "Eric W. Bates" <ericx@vineyard.net>
To:        "randall ehren" <randall@ucsb.edu>, <freebsd-net@freebsd.org>
Subject:   Re: default route
Message-ID:  <00b701c2b512$1043c1f0$3ee380cc@alice>
References:  <Pine.BSF.4.33.0301051321460.43112-100000@isber.ucsb.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
According to your ifconfig, I believe you have essentially assigned the same
networks to both interfaces (128.111.147.250 netmask 0xffffffff falls within
the larger 128.111.147.251/24).  In which case, there is no way to
distinguish between the two interfaces because your default IP,
128.111.147.251 actually falls within both subnets.

----- Original Message -----
From: "randall ehren" <randall@ucsb.edu>
To: <freebsd-net@freebsd.org>
Sent: Sunday, January 05, 2003 4:26 PM
Subject: default route


> hi,
>  i have a freebsd box acting as a firewall using ipfilter over a bridge.
>
>  the machine has two interfaces:
>   fxp0 = connected to outside world interface
>   rl0  = connected to internal subnet
>
>  when i add the default gateway, it defaults to assigning it to rl0.
>
> from netstat -rn:
>  Destination        Gateway            Flags    Refs      Use  Netif
Expire
>  128.111.147.254    00:e0:52:d8:43:00  UHLW        1        0    rl0
1182
>
>  how can i assign the default gateway to use fxp0 instead?
>
> notes:
>
> root@fw-1[~]% ifconfig -u
> fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet 128.111.147.250 netmask 0xffffffff broadcast 128.111.147.250
>         ether 00:00:5e:00:01:01
>         media: Ethernet 100baseTX <full-duplex>
>         status: active
> rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet 128.111.147.251 netmask 0xffffff00 broadcast 128.111.147.255
>         ether 00:30:1b:10:5b:e3
>         media: Ethernet 100baseTX <full-duplex>
>         status: active
>
>
>  thanks,
>  -randall
>
> --
>         :// randall s. ehren         :// voice 805.893.5632
>         :// systems administrator    :// isber|survey|avss.ucsb.edu
>         :// institute for social, behavioral, and economic research
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b701c2b512$1043c1f0$3ee380cc>