Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I am trying to get my GNU/Linux Mandrake 9.0 box to go on a network with several windows machines. The computer is dual-boot to XP, Linux, and macOS 8.1, configured identically under all three, yet networking works only in XP.
I used Mandrake's netconf to set it up as:
IP: 10.0.0.46
SN: 255.255.255.0
which is the same as what I have under XP (.45 under XP, really so as not to confuse the other computers.) Ping does not work in either direction from either computer. Am I missing something? Someone told me at some point that I was using a class A IP with a class C subnet mask, but that should still be valid, right?
Server and Client can ping eachother when client is in XP home. They cannot when it is in linux. In linux, the client can ping both itself and its loopback ip. "smb status" says that it is working (though it shouldn't be able to do anything unless the basic network stuff is working, right?).
// configuration info
[root@10 jeff]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:CA:44:67:24
inet addr:10.0.0.46 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:304 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Base address:0xbc00
Make sure you're pinging by IP address, not hostname, to separate any name resolution problems from routing problems. Also, make sure you don't have a firewall blocking anything. Either a firewall on the server that's not expecting the .46 address, or iptables on Linux.
Originally posted by CIO_BlackRainbo The computer is dual-boot to XP, Linux, and macOS 8.1
Dual booting to 3 OS's? I think there's a gramatical error. Tripple booting maybe? (Just teasing... )
Quote:
Someone told me at some point that I was using a class A IP with a class C subnet mask, but that should still be valid, right?
This should work fine. You can use a class C subnet mask with a Class A,B or C address, and it should be fine.
You can try flushing IP tables and see if that works, but out of the box IPtables should be configured fine to begin with. I'm assuming that there are no routers in-between your linux box and the rest of the network?
no routers, just cat5e cable to and from a standard hub
no additional firewalls to linux.
The server has a probably-disabled trial version of McAffe Personal Firewall Plus that came with the computer. It claims to be 'expired' and to need to verify the subscription. As it won't let me disable it (no choice) , I think it is already not running. It also would probably not do anything, as my computer gets through fine as 10.0.0.45 and I did not tell it that especially.
# iptables -L :
-- this replied that it could not find "iptables"
-- so I tried iftables, iptable, and iftable, none of which worked.
# find / iptables :
-- This took a while and found nothing
# netstat -rn : (this is retyped as my network is dead.)
Note: I beliveve that the only reason that it says 10.0.0.41 as a gateway is because I told it so, and it does not signify that the computers can talk.
Last edited by CIO_BlackRainbo; 06-17-2003 at 08:34 PM.
I was messing with partition tables on my HD last night, killed the machine and had to re-install gnu/linux and XP. It was good, though, because in this install I new what I wanted much more and was able to select the packages better. I got gcj and g++ to work - they had been annoying me for a while; turns out I just forgot to install. I was very careful in choosing which network-related packages I wanted and setting up the network properly, but the problem is exactly the same.
I was thinking; when I reinstalled mandrake 9.0, it asked me if I wanted to connect to the internet to download bug fixes. I told it 'no' as I have msn internet access which I don't think works with gnu/linux. I will try to download the fixes on my other computer, but I will have to - annoyingly - burn them to CD before I can get them to my linux box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.