Date: Fri, 28 Feb 1997 11:00:19 -0700 (MST) From: Brandon Gillespie <brandon@cold.org> To: freebsd-questions@freebsd.org Subject: setting up two ethernet devices--seperate networks Message-ID: <Pine.NEB.3.95.970228105458.7673B-100000@cold.org>
index | next in thread | raw e-mail
Ok, I've done this before with a ppp(tun) device and an ethernet
device--but mostly by luck and brute force. Now I'm trying to setup a
multi-homed machine (two ethernet devices). The ethernet devices _do not
conflict_. I know this because I can use either device on the open network
(206.81.134.0) by just changing which device is setup on that network and
plugging in the right network cable and rebooting. But I can't get the
private network (192.168.1.0) to work at the same time. At the moment I
am _not_ using the kernel with IPFIREWALL--I just want to connect TO this
machine. The networks are:
192.168.1.0
192.168.1.1 -- this machine on the localnet
192.168.1.5 -- another machine on the local net
206.81.134.0 -- open net
206.81.135.97 -- this machine on the open net
>From my sysconfig:
network_interfaces="lo0 ed0 ed1"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_ed0="inet 206.81.134.97 netmask 255.255.255.0"
ifconfig_ed1="inet 192.168.1.1 netmask 255.255.255.0"
I am not defining any static routes--should I be? I ended up forcing my
localnet machine to work with route add -net 192.168.1.0 -interface
ed1--it always whines when I run it--but it works. This doesn't work for
me now tho :b
For now all I want to do is simply be able to ping .5 from .1 on the
localnet. When I do it now I get:
> ping 192.168.1.5
PING 192.168.1.5 (192.168.1.5): 56 data bytes
ping: sendto: Host is down
ping: wrote 192.168.1.5 64 chars, ret=-1
ping: sendto: Host is down
ping: wrote 192.168.1.5 64 chars, ret=-1
Help?
Thanks..
-Brandon Gillespie
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970228105458.7673B-100000>
