On Sunday 08 April 2001 12:39, Sjoerd Venema wrote:
Hoi Sjoerd,
You have to edit /etc/route.conf, which is explained on page 160-161 in the SuSE Handbook. If you don't have the manual or don't
understand
the syntax, tell us exactly the IP-addresses of your network setup so we can help you to get it right. I would gladly help you but it's not completely clear what you're trying to achieve.
mazzel, Marcel
My 1st Nic has ipadress 10.0.0.222 255.255.255.0 My 2nd Nic has ipadress 213.14.68.135 255.255.255.128 Gateway 1st Nic 10.0.0.100 Gateway 2nd Nic 213.14.68.129 When default gateway is 10.0.0.100, then the second Nic is not reachable from outside (internet). I enabled ipforwarding, but still no access to 2nd NIC. That is why I guessed I should give the 2nd NIC another gateway, which is 213.14.68.129 (because a machine in DMZ with this gateway works fine). In Windows 2000 with 2 NIC's, I'm able to give each NIC it's own gateway, which works fine. Regards, Sjoerd
On Friday 06 April 2001 12:38, Sjoerd Venema
wrote:
Hi,
I placed two nic's in my SuSE 7.1 box. When I use yast1 to configure the nic,s I'm unable two give the second nic another gateway. One nic has a internal ip-address and the other one uses a public ip-address, which is behind a firewall. The internal nic is used for samba and the public ip-address (second nic) wil serve sendmail and apache. The second nic needs another gateway.
How to solve this problem??
Sjoerd
OK, let me get this right: * 213.14.68.135/25 Is your public address that needs to be reachable only from the Internet * 10.0.0.222/24 is the private address that needs to be reachable only from the private net. * gateway for the internet is 213.14.68.129 * gateway for the private net is 10.0.0.100 1. disable IP-Forwarding 2. set your default gateway to 213.14.68.129 3. edit /etc/route.conf and add this line: 10.0.0.0 10.0.0.100 255.255.255.0 eth0 the following entries should allready be there (check this!): 127.0.0.0 0.0.0.0 255.255.255.0 lo 213.14.68.135 0.0.0.0 255.255.255.128 eth1 default 213.14.68.129 4. restart routing: host:~ # rcroute restart If i interpreted your setup correctly this should do it. Mazzel, Marcel Get your Free E-mail at http://thepenguin.zzn.com ____________________________________________________________ Get your own FREE Web and POP E-mail Service in 14 languages at http://www.zzn.com.