LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   configuring 2nd nic/gateway (https://www.linuxquestions.org/questions/slackware-14/configuring-2nd-nic-gateway-269980/)

spooge 12-24-2004 02:10 PM

configuring 2nd nic/gateway
 
hi,
i have 2 public ips
i need to configure eth1 with 2nd gateway


i've edited rcinetd.rc.conf,
and noticed only one setting for default gateway( eth0)

what i want gateway adress's
eth0: 192.168.1.1
eth1: 192.168.2.1

thanks

david_ross 12-24-2004 02:16 PM

By definition you can only have one "default". You'll need to decide on what basis packets should use what gateway.

spooge 12-24-2004 02:22 PM

thanks dave,

so is it/this possible?

i'd like to allow
eth0 to local net/router
eth1 to 2nd public ip


All times are GMT -5. The time now is 02:49 PM.