From owner-freebsd-questions Tue Jun 30 18:11:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19572 for freebsd-questions-outgoing; Tue, 30 Jun 1998 18:11:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from southx.sx.com.au (root@sx.com.au [203.19.222.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA19492 for ; Tue, 30 Jun 1998 18:11:21 -0700 (PDT) (envelope-from frooky@sx.com.au) Received: from southx.sx.com.au (frooky@SOUTHX.sx.com.au [203.19.222.1]) by southx.sx.com.au (8.8.8/8.8.4) with SMTP id LAA25917; Wed, 1 Jul 1998 11:13:04 +1000 Date: Wed, 1 Jul 1998 11:13:03 +1000 (EST) From: Alan Sawyer To: Malte Lance cc: questions@FreeBSD.ORG Subject: RE: Ip aliasing with Freebsd. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 30 Jun 1998, Malte Lance wrote: > > On 30-Jun-98 Alan Sawyer wrote: > > Hi, wondering if you can help me. > > What I would like to do is lets say I have 2 class C addresses on my LAN. > > I would like the BSD machine to have an address for each, and communicate > > to the hosts's on each class C via the ip of the respective hosts. > > > > Okay, setting up an interface > > ifconfig ep0 inet 203.19.222.6 netmask 255.255.255.255 alias > > ifconfig ep0 inet 203.19.222.6 netmask 255.255.255.0 alias > > Thats all. No "route add ..." > Maybe you want to enable forwarding in your "/etc/rc.conf" file. > Hi,pardon my lack of knowledge in this area but how do I do that? I cant find a mention of ip forwarding. Anyhoo, any idea why when I put the above line in sendmail crashes and telnetting to the machine from any class C except for 203.36.8.0 (its 'first' ip) takes a longtime? That is why I ended up aliasing all the other machines in the first place. Thanks again :() sorry to be a pain. Regards, Alan Sawyer. IRC @ Frooky. Systems/Network Administrator. Satlink Internet Services P/L I've used up all my sick days.... so I'm calling in dead. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message