LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Steven Ellison <sellison@pcsa.net.au>
  To  : bmonten <bmonten@adelaide.on.net>
  Date: Wed, 19 Apr 2000 12:59:57 +0930 (CST)

Re: Routing

Brett,  If they are two phisically different networks then yes, you will
need two network cards.  If they reside on the same physical network then
it can be done with one card.

You can use an address alias on the network card to allow the one card to
use the same wire as the two different networks.  How this is done depends
on how old your Linux is.  The newer ones will allow the 

ifconfig eth0 ip_one netmask_1
ifconfig eth0:0 ip_two netmask_2
route add -net netaddress_2 netmask netmask_2 dev eth0
route add -net netaddress_1 netmask netmask_1 dev eth1


All done!

	Regards Steven Ellison

On Wed, 19 Apr 2000, bmonten wrote:

> Date: Wed, 19 Apr 2000 12:39:52 +0930
> From: bmonten <bmonten@adelaide.on.net>
> To: LinuxSA <linuxsa@linuxsa.org.au>
> Subject: Routing
> Resent-Date: Wed, 19 Apr 2000 12:45:22 +0930
> Resent-From: linuxsa@linuxsa.org.au
> 
> I have two networks, with ip addresses of 192.0.0 and 192.168.0. To get them
> to talk properly, I understand I need a box in the middle to do the routing.
> To do this, does the box need two physical network cards, or is it purely a
> software forwarding thing ?
> 
> Regards,
> 
> Brett Monten
> 
> 
> -- 
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
> 

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page