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.
Hello everybody!!! My goal is to have a Linux box that acts as a router/bridge/firewall, etc between my DSL connection to the internet and my internal home network. I got a copy of TurboLinux server 6.0 and installed it, but I’m having trouble getting it up on the network correctly. It’s driving me crazy and I’ve read every article I can find on the web.
TurboLinux has these neat programs called “turbonetcfg”, “turboxcfg” etc that provide an ansi gui interface to edit different configs. The turbonetcfg edits the different .conf files in the /etc directory. I currently have the eth0 (a 3com 905 so the driver is in the kernel) configured with the ip 192.168.1.1, subnet mask 255.255.255.0, etc. I have no default gateway (this will be the 2nd nic I install that connects to my dsl modem once I get the internal side up an working). My Win2k box has the ip 192.168.1.10, submask 255.255.255.0, default gateway 192.168.1.1. I can’t ping either way.
VERY weird things I’ve noticed: when I ping from the win2k box the activity light flashes on my hub for that port, but the activity light for the port for the linux box does not when I ping from it. Also, I have “arpwatch” running on the linux box (I don’t know if this is turbolinux specific or not). When I log on as root I occasionally get mail from arpwatch. One time it showed up saying a new station was found and had my win2k box listed with the appropriate ip address and mac address!!! Then I get occasional messages saying something like “linux udplog[264]: dgram to netbios-dgm from 192.168.1.10:138 sz=201(+28)”. It looks like it’s logging that my win2k box is trying to ping it.
That only adds to my frustration. Is there some simple trick I have left to do to make this thing work? Any help or advice would be GREATLY appreciated.
Hmmm, just an update. I've found that Turbo Linux has everything commented out in the inetd.conf file. Would this have anything to do with it? Also, would I have to add my Win2k box's IP in the hosts.allow file? Would that really stop me from pinging?
Frustrations are rising and I'm at the point of just going with Mandrake. I ran the ethereal sniffer in xwindows. When I ping it from Win2k, nothing. When I ping the Win2k box from Linux, it detects lots of arp packet mac broadcasts (FF:FF:FF:FF....) asking who has 192.168.1.10 but no reply.
I'm at work now, so I can't give you the exact output, but the image is almost burned into my memory the ip is 192.168.1.1, subnet mask 255.255.255.0 Before I uninstalled arpwatch, the nic was running in promiscuous mode, which I thought may cause problems, but uninstalling it and the nic no longer being in promisc. had no effect.
I noticed NOTHING was enabled in the modules.conf file and everything was denied in the hosts.deny file by default upon installation. I chose to install the "All-in-one" package including a firewall, etc. I think the software comes totally locked down and you have to know where to go in every little corner of this flavor of linux to open it up. I've never heard of Red Hat or Mandrake being that difficult.
I've also had lots of wierd issues... every other reboot it won't recognize my nic (and it's a 3COM 3c905b-tx), the keyboard occasionaly locks up, especially in xwindows, and sometimes the whole system locks up. At this point, with a Mandrake CD in hand, I think I'm gonna bring the hammer down. So this thread is a moot point unless anybody wants to continue speculation.
I sure will, but could you tell me where to check the default firewall rules. I looked everywhere and couldn't find anythind that had to do with the firewall--i was grepping entire directories at a time for firewall
I came home to find it locked up again. I rebooted and it just hangs when it's trying to load mouse drivers. As curious as I was myself to see what the firewall config was, I'm installing Mandrake now But don't worry, I'll probably have problems with this too
Wow. That's all I have to say. IMMEDIATELY after running through the install of Mandrake and rebooting I was able to ping my win2k box and vice versa. It seemed all down hill from there. I installed my 2nd nic, PPP, and my PPPoE client and had my ADSL up and was crusin the web all within an hour of beginning the Linux install! Now I just have to figure out that darn masquerading! I have a howto, but it involves unpackin the kernel, which the tar file doesn't seem to be on my drive.
Anyway, maybe Tubolinux is good if your a pro, but I wouldn't recommend it for somebody who just wants to install Linux and start havin fun!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.