LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2004, 08:22 AM   #1
Fluzz
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
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
 
Old 05-19-2004, 10:13 AM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Hello,
routing and nating is done trough firewall settings. You might want to tak a look at the firewall I designed. You can get the adress in that message :

http://www.linuxquestions.org/questi...hreadid=182610

about the NIC problems, I remember having that kind of problem with 2 3com cards.... You have to make sure the aliases are correct in the module.conf file... I remeber that the system has the habit to forget to put one of the aliases... Well finaly, I was able to sove that problem 1/2 time and the other time I did put another NIC of another brand :-)

Good Luck!
 
Old 05-29-2004, 01:40 AM   #3
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
Hi !

Fluzz , did you find a solution with slack 9.1?

I have *exactly* the same prob . Only using two RTL8139 nics.

The link above is an example for Mandrake which uses another way of configuration as far as I know ..

??? J
 
Old 10-06-2004, 09:40 PM   #4
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
Hopeful Bump for a long dead thread. This is my exact problem..... my eth1 doesn't seem to want to live...

Ifconfig does'nt show it having an IP!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The Unofficial Revised Slackware Book Project Update +Alan Hicks+ Slackware 7 02-21-2005 07:29 PM
newbie seeks expert advice on special Slackware 10 project kthiessen Slackware - Installation 2 08-30-2004 11:51 PM
Slackware DVD-project? svarreby Slackware 11 07-26-2004 02:39 AM
Newbie Project: Box dedicated to MythTV + Routing + Firewall + Hub - Need Advice i-Silver Linux - Newbie 3 06-27-2004 11:46 AM
Project Utopia + Slackware 10 Toth Slackware 5 06-26-2004 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration