Suraj Shankar
2003-Dec-06 07:19 UTC
Re: How to config ip in 2nd lan card in Linux pc and config ip masq?
Hi, --- "Md.Ahsanul Haque Chowdhury" <ahaque@neksus.com> wrote:> (192.168.1.1). But after install the Linux 7.2 inhow did you get a copy of Linux 7.2? ;) i''ll safely assume thats RHL 7.2 ...> /etc/sysconfig/network- > scripts/ only showing ifcfg-eth0 no interface is > showing like ifcfg-eth1.''netconfig'' would be your best bet. Also, check dmesg, to see that you card has been detected. If the card is detected, you can copy ifcfg-eth0 to ifcfg-eth1 and make the appropriate changes.> & how to config ip masq to route to get Internet in > local workstations.?...just use iptables to masq. your internal subnet; man iptables. suraj. __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Md.Ahsanul Haque Chowdhury
2003-Dec-06 16:55 UTC
How to config ip in 2nd lan card in Linux pc and config ip masq?
Dear Sir, I have install 2 lan card (Micronet Lan Card) in Linux pc, in 1st lan card I will use public ip ( 203.x.x.x) and 2nd lan card I will use private ip (192.168.1.1). But after install the Linux 7.2 in /etc/sysconfig/network- scripts/ only showing ifcfg-eth0 no interface is showing like ifcfg-eth1. My questions are how to enable or config 2nd lan card and config ip in 2nd lan card.? & how to config ip masq to route to get Internet in local workstations.? Pls help me to solve these problem. Thanks & Best regards. __________________________ Md. Ahsanul Haque Chowdhury. E-mail:ahaque@neksus.com , ahaque@link3.net Web:http://www.neksus.com Web:http://www.link3.net Date:2003-12-06. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/