Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
I've set up a local area network (in the hopes of being able to internet connection share in the future) using the following tutorial;
(forgive the spaces)
linuxlookup .com/modules. php?op=modload&name=Sections&file=index&req=viewarticle&artid=2&page=1
comp1:mandrake9.0 w/ 2 nics, eth0 has working net conn. eth1 is for lan : eth0 ip set to 192.168.0.1, eth1 ip set to 192.168.0.2
comp2:win2kpro w/ 1nic for lan, nic ip set to 192.168.0.2
I've gotten all the way through the tutorial, and set up my eth0 to 192.168.0.1, and my eth1 to 192.168.0.2 ... everything seems to be right, i get no errors on reboot, i have a net connection working fine on eth0, now all thats left is the proper win configuration and testing the network.
I've gone into my lan properties and set the ip for the lan connection to 192.168.0.2 like the tut says, and hit ok, and restarted. now when i try pinging from either the winbox or the linuxbox, i get no response. from windows i can ping 192.168.0.2 and that works, but when i try to ping the linuxbox, it fails, request timed out. and from linux, i get failed sends on oings to both addys ...
Ive tried setting up net connection sharing in the Control Center, and I think I have everything right, but i just cant get the computers to recognize each other ... any ideas??
PS, if you need more info, id be happy to answer, i can go on and on and on about this, i dont know whats wrong, i had this lan working once before, but dont know what ive done different ... also, where the hell is all the decent mandrake documentation, i spent about 12hours trying to get this network working with LM9.1, but failed, so im back to LM9.0, like i said i had it once before ... I think ill have to write a TUT if i Ever get this working lol , thanks again ...
well uhm, according to that tut, i set my eth1 to 192.168.0.2, and i got into windows, lan properties, and enter, 'use the following ip' and enter 192.168.0.2 & netmask of 255.255.255.0 ... there are also spaces for default gateway and dns servers, but that Tut doesnt mention anytihng ... what do you think?
in linux ive set up a few things like so
my networking config looks like
Hostname & IP devices ----------
Enabled - 'Manual' Mode (or 'static' in the Mandrake control center)
Enables - 'Manual' Mode (or 'static' in the MCC ... should this be DHCP?)
ok, now one thing in the Tutorial says, in networking>DNS nameserver settings, you need to enable DNS, which ive done, and in the first Ip enter; 192.168.0.1 ... now ive tried to do that, but everytime i reboot, it seems to get set to these two ip's 206.47.xxx.13 and 206.47.xxx.60 ...
(((read this later, dont get confused, just a side note on net sharing -- now i think these are my ISP's DNS ips? but its odd, because my isp says that when configuring, i dont need to DNS IP's ... over my head, but anyways, i wouldnt rely on those address... last time i got this network working, with a different isp, i believe i had to put their DNS ips, into the windows settings, in the primary and alternative dns boxes for my nic ... what do you tihnk?? ... anyways, that is all internet connection sharing stuff, i would prefer to simply get the LAN working, so i can transfer files....)))
ok, so Ive got all that set up properly, i think ... and again when i try to ping after setting windoze to 192.168.0.3, i can only ping itself, and i get timeouts for .2 & .1 ... so i think there must be a linux config error, maybe its rejecting my packets?? mandrake comes with shorewall set up automatically, and like i said, i had this working before and didnt need to do any config with shorewall ...
Also, a strange thing, i cant ping 192.168.0.1 from linux terminal, i get 100% packet loss, but if i open up mozilla, i can view my apache server at http://192.168.0.1/ ... so the more i think about it, my linux comp must be rejecting somewhere, ive heard of dhcp and routing ... do i need to set this up ?? im really confused ... thanks for any help,
Never used mandrake but it's supposed to make things easy lol I think you're in a bit of a muddle
Just out of curiosity what is eth0 192.168.0.1 connected to ? Cable/adsl modem or another part of a network? If eth0 is connected directly to the internet via a cable/adsl or whatever modem it should probably have dhcp enabled and not statically assigned 192.168.0.1. You can surf the web using this IP DNS servers will be your ISP servers most likely the 206. ones
Try turning off firewall to see if the other two can ping each other.
yea eth0 is connected to my adsl modem, thats all connected fine, so i dont want to bother with internet stuff, just this networking, im going to turn off the firewall and try pinging ... wish me luck ... im also going to try installing Samba, but i feel like im opening up another can of worms, so dont worry about that :-\ ... thanks again ....
ppp0 indicates to me a dial-up connection but seeing as you using ADSL which uses pppoe I'm assuming it shows up like this for some reason, someone else will need to confirm this as I use cable.
Forget about everything you've done so far and get it back to the way everything was before, just an internet connection using DHCP probably, that's why you're ISP is saying you don't need to enter name servers or anything the DHCP will give you them. Check the IP address you've been assigned, it won't be 192.168.0.1 You've gone off wrong somewhere using that tutorial, connecting two PC's together and getting them to ping each other should really be a simple thing to do and you'll get there eventually.
Undo what you've done so far.
Then come back or search on this forum for a similar topic in this forum when you've got a clean slate again and naturally you're sure your using a crossover cable to connect the two pc's