slackware routing project
I'm trying to set up a router in my room at university, so i can get rid of my last windows machine (and I'd really like to have a more secure router too)
At the moment, i have a p2 450 with two network cards running 2k, with ICS so the rest of my room can have access through my hub. One network card goes into the wall (to the university network) with DHCP, the other is 192.168.0.1, as ICS sets up.
I'd like to have a similar set up with a different machine, using slackware (9.1, the current download) instead (I'm using slack on my other machines, so I'd like to stick with it unless theres a great reason not to)
I can set up the machine to use a cheap NIC, with DHCP, and it gets an IP and i can then use lynx and surf no problem. I setup DHCP using netsetup. My other computers use static IPs at the moment, though I could change that.
I also have a 3c509b, and a 3c900b (i think), so I could use either of those. for the internal part of the networking. I can load the drivers no problem on the 509, and the other one has support in the kernal. However, when I have both network cards in, it doesnt seem to know what to do, and doesnt get an IP from the university server when it boots.
If i boot with the 3c509 in, and load the drivers using "modprobe 3c509", I can have still have external access whilst having both NICs in, but I cant seem to make the internal network happen at all (I'm not talking about routing yet, either; I shall explain)
I tried "ifconfig eth1 192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0", where eth1 is the 3c509, and I can't ping the other machines on the network. I have turned off all my firewalls for the purposes of this exercise. I'm pretty sure the cards work ok, so it's not a hardware problem.
I've also tried to do it by editing /etc/rc.1/rc.inet1.conf, but whatever I put in there doesnt seem to do much.
I'm sure I can figure out how to get the routing working once I can ping the other machines, but at the moment I'm flummoxed. any ideas?
Thanks a lot, I hope this post isnt /too/ long
|