Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 09:03:42 -0400 (EDT)
From:      George Uhl <uhl@mamba-e.gsfc.nasa.gov>
To:        freebsd-questions@FreeBSD.ORG, mk@i-2000.com
Subject:   Re: dual homed host-
Message-ID:  <199805261303.JAA11671@mamba-e.gsfc.nasa.gov>

next in thread | raw e-mail | index | archive | help

Your message is unclear.  I'm not sure what ip
addresses you've assigned on your FreeBSD boxes.
I'll assume 12.14.48.19 for tx1 and 97.72.2.27
for tx0.  If you assign tx1 the ip address of 
12.14.48.19 you'd better be able to ping it.

Where is the next hop ethernet address for 12.14.48.17
in your routing table?  This is not an etc/hosts 
issue, but one of two boxes on the same ethernet 
link not communicating via arp. According to your 
diagram, the 12.14.48.16/28  route should have a 
next hop address of 12.14.48.17, but only after your 
12.14.48.17 next hop address issue is resolved, of 
course.

I also find it interesting that your default route 
next hop is 97.72.2.13.  It would be better if 
your default next hop is 12.14.48.17.  It will 
make internet access easier  for your freeBSD box.
Again only  after you've addressed your mac address 
problem  with 12.14.48.17. It appears that 97.72.2/24 
route next hop is 97.72.2.13 which is the only
route you need to access that subnet.

George Uhl

> From owner-freebsd-questions@FreeBSD.ORG Fri May 22 20:23 EDT 1998
> Date: Fri, 22 May 1998 15:20:17 -0400
> From: mel kravitz <mk@i-2000.com>
> MIME-Version: 1.0
> To: freebsd-questions@FreeBSD.ORG
> Subject: dual homed host-
> X-Loop: FreeBSD.ORG
> 
> Hi,
> I have freeBSD 2.2.6 with 2 SMC pci tulip cards installed on an i686
> machine,
> the machine is to be a gw box between a cyclades router -56k line
> 12.14.48.16-.31, subnetmask 255.255.255.240,router ip 12.14.48.17 and a 
> the linux box which currently provides ipfwadm sevices to 40-59 clients,
> ip 97.72.2.13
> subnetnask 255.255.255.0, i have assigned hostname on the freebsd box to
> be an ip on the
> lan 97.72.2.27,
> 
<---internet--->router12.14.48.17<---tx1--->FreeBSD97.72.2.27<----tx0--->Linux/l
an97.72.2.13}40-59clients,on
> the
> freebsd box:
> i modified /etc/hosts to contain 97.72.2.27,all ip's of the lan, local
> host 127.0.0.1
> and 12.14.48.17 router.domain.com router
>     12.14.48.19 firewall.domain.com firewall
> /etc/rc.conf added ifconfig_tx1 
> 12.14.48.19 would be the ip of hostname if only one ethernet card , one
> subnet.
> On `boot-up` this is the kernel routing table, i can ping 12.14.48.19
> but not the router
> 12.14.48.17, what files in /etc directory have i missed, what route
> `add` commands for static routes
> need to be set up.
> Thanks in advance-mel
> 

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



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