Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!topaz.rutgers.edu!hedrick From: hedrick@topaz.rutgers.edu (Charles Hedrick) Newsgroups: comp.unix.wizards Subject: Re: Dual Networks on One Ethernet Message-ID: <13746@topaz.rutgers.edu> Date: Wed, 5-Aug-87 21:57:06 EDT Article-I.D.: topaz.13746 Posted: Wed Aug 5 21:57:06 1987 Date-Received: Sat, 8-Aug-87 07:04:09 EDT References: <322@pollux.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 20 To: jgd@pollux.UUCP You asked how to put two networks on one Ethernet. You need to use a variant of "route add" to tell your machine that the other network is present. Assume that the other network is 192.13.2.0. You would say route add 192.13.2.0 `/bin/hostname` 0 The hop count of 0 says that the network specified is directly connected. Note that you have to put the command in /etc/rc.local for every machine on your network. Machines on the other network of course get a command that points at your network. I note that your network addresses seem a bit odd. 180.0 is certainly a legal class B network number, but it has not been allocated. You don't just make up network numbers: they are allocated by the Network Information Center. SMU is quite likely to be connected to the rest of the Internet at some point, if it isn't already. When that happens, if you are using random addresses, other sites are likely to get quite upset at you. It's better to start out with officially allocated numbers from the beginning, since otherwise you'll have to change all your addresses, which is a painful process. To start the process for having a network number assigned, send mail to registrar@sri-nic.arpa.