Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 1996 13:36:04 -0500 (CDT)
From:      Mark Tinguely <tinguely@plains.nodak.edu>
To:        kristyn@gnu.ai.mit.edu, questions@freebsd.org
Subject:   Re: Networking / Routing question
Message-ID:  <199605151836.NAA08028@plains.nodak.edu>

next in thread | raw e-mail | index | archive | help
>           56k Frame Relay
>  WAN Side ----------------[Router]----------------{FreeBSD}------------ LAN Side
>                                                 ed1       ed0
>                          x.x.x.253        x.x.x.252       x.x.x.251     x.x.x.35
>                                           0x300 irq 11    0x280 irq5
>  
>    The problem I'm having is that I can't ping the router from a login on
>  the FreeBSD machine.  I also can't ping ed1.  I keep getting the message
>  that the host is down.  What I thought I had to do to get this to work was:
>  	ifconfig ed0 inet x.x.x.251
>  	ifconfig ed1 inet x.x.x.252 x.x.x.253
>  	route add x.x.x.251 localhost
>  	route add default x.x.x.253
>  
>    Can anyone help me with this?  Is it that my router MUST be on a different
>  network?  Is there any way to get it to work in this configuration?  I
>  also don't have GATEWAY compiled into my kernel nor Gateway set to YES in
>  /etc/sysconfig.  Are they absolutely necessary?  I'm trying to use this
>  machine as a bastion host firewall.

If you want to avoid static routes from hell, you need to select interface IP
numbers that can be subjected to a netmask. if one netmask could still overlap
the other (255.255.128.0 and 255.255.255.192), be sure to ifconfig the
interface with the more restrictive interface (255.255.255.192) first.
I would renumber ed0 to x.x.x.32 and use netmask of 255.255.255.192 (first
64 hosts).

you will need to either add the IP information about the LAN (x.x.x.35) side
into the router or proxy arp with a seperate machine on the network connecting
the Router and FreeBSD machine.

--mark.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605151836.NAA08028>