Thread: Eth0 and eth1
View Single Post

  #1 (permalink)  
Old 07-20-2004
Captain Beefheart
 
Posts: n/a
Default Eth0 and eth1

As mentioned earlier in this forum, I'm setting up a VPN system.

This involves having two network cards on one PC - eth0 and eth1. Because I
want to learn as much as I can about networking, I'm doing it the hard way
and avoiding a distro or package which will do all this for me.

However, I'm having trouble understanding how I can add separate routes for
each card. One will connect to the WAN and have an "internet IP" whilst the
other will connect to a private subnet with a 192.168.*.* address. Clearly
they have separate gateway addresses.

What files need to be altered? I'm using SUSE, although not for any
particular reason (the install disc was simply at hand). However, YAST2
only seems to want to let me have one default route which it then applies
to both cards.

Also, is it possible to have separate DNS configs for both cards?

Reply With Quote