Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
Just a simple network question really. Sorry but could not find the answer to any tutorial.
I've got a spare NIC which I installed on my linux system which is working fine through a LAN (gateway 192.168.0.1, eth0 192.168.0.3)
How do I configure the new NIC eth1 so I can connect an old win 98 machine through this one ? Thanks.
I'm trying to share my internet connection from my linux with the old windows.
Not sure if I should allocate a static IP address to the windows machine or leave it as DHCP enabled. And if so how do I configure eth1 (what IP address, route etc)
Thanks in advance
That's how you bring up the 2nd nic online. As long as the 2nd nic is in the same subnet as your win98 box, you should be able to connect to it just fine.
I have done that now so ifconfig gives me this:
eth0 inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
eth1 inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
Monitoring the network now gives me the option to select eth1 but only send traffic is seen (very little)
Something is still not right
I have also noticed the lights at the back of eth1 NIC are off. Does that mean the card is not installed properly ?
Thanks
If you are managing to give our NIC's IP addresses they should be installed ok. Type ifconfig -a and check that they are both in there with the correct IP addresses.
Should eth0 and eth1 be on the same subnet mask or different ?
When I tried :
eth0: 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255
eth1: 192.168.0.30 netmask 255.255.255.224 broadcast 192.168.0.255
I lost connectivity to the outside world. No DNS server IPs seen.
When I brought eth1 down, all is normal again.
I guess I will have to give some comand for DNS servers, but don't know how, and if required for both eth0 & eth1
Will get there eventually !
Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.