Return to BSD News archive
#! rnews 1385 bsd Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!in3.uu.net!ott.istar!istar.net!van.istar!west.istar!n1van.istar!van-bc!unixg.ubc.ca!news.bc.net!news.lynx.bc.ca!usenet From: Daniel <daniel@lynx.bc.ca> Newsgroups: comp.unix.bsd.bsdi.misc Subject: IP Subnet Date: Mon, 12 Aug 1996 23:38:30 -0700 Organization: Lynx Internet Lines: 21 Message-ID: <321022E6.618F@am1320.com> NNTP-Posting-Host: lynx1131.lynx.bc.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.01Gold (Win95; I) Hi there, I am currently using BSDI2.1 and I am trying to subnet a class C for a local network. What I am trying to achieve is to use the BSDI box to act as a router. However I am not able attach a second IP address to the same ethernet address. eg. the IP address of the BSDI box is 202.12.5.252 and I want to attach an IP 202.12.6.254 (the gateway address of the subnet) on the same ethernet. I tried "ifconfig ef0 202.12.6.254 alias" with "route add -net 202.12.6.128 202.12.6.254 -netmask 255.255.255.128" However, the IP address 202.12.6.254 is not advertised on the ethernet. My question is : How can I attach another ip address (of differnet class) on the ethernet? Thanks in advance. Tom Is it possible?