LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-07-2003, 01:29 AM   #1
wocdam
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
Slackware 9 Network Problems


Ok I know this may sound silly and a very n00b question, but I have my linux machine running slackware 9 with 2 ethernet cards as my router/gateway/server

eth0 is dhcp for the cable modem i can use the internet just fine with this one

second nic

eth1 has a static address of 10.2.1.254 255.255.255.0 bcast 10.2.1.255

for some reason I cannot ping any machines on my network? they cannot ping me... I am new to slackware can someone please tell me what am I missing or need to do? Thanks
 
Old 06-07-2003, 04:51 PM   #2
allel
LQ Newbie
 
Registered: Jul 2002
Location: Vancouver, BC, Canada
Distribution: red hat 7.3 with XFS filing system from SGI.com (on my still alive P1-150 MMX)
Posts: 4

Rep: Reputation: 0
another slackware newbie here .. but ..

.. my friend .. this is tcp/ip you are dealing with
and not just linux or windoze or routers or switches .. all with
ip addresses !!

.. you have to contemplate , realize , whether nodes in your
lan ARE ON THE SAME Network ???

.. again , this is TCP/IP Addressing issue.

.. if i may be mistaken .. based on my experience .. when
supporting friends ARE ... this one :

physical interefrence ... the biggest culprit was
a network cable lying on the floor ALONGSIDE WITH a
power cable or Electrical wiring in the house )

bliv u me.
 
Old 06-07-2003, 05:28 PM   #3
My_World
LQ Newbie
 
Registered: Apr 2003
Location: South Africa - Kalahari desert
Distribution: Mandrake, Slackware
Posts: 16

Rep: Reputation: 0
What is the IP's of the other networked PC's?

Quote:
eth1 has a static address of 10.2.1.254 255.255.255.0 bcast 10.2.1.255
They should be 10.2.1.xxx subnet 255.255.255.0

I'm not going to get compilcated in explaining the 10.2.xxx.xxx Subnet 255.255.0.0 setup, just check and see if the first example is correctly set on the other machines.

That will allow you to network, but not share the internet connection!
Post again if you want the network to share the internet connection.
 
Old 06-07-2003, 09:31 PM   #4
wocdam
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
well now I feel stupid, I found the problem. My dog chewed on the network cable that I just replaced a week ago, ( so I figured it wasnt the cable... heh)

Anyways, all the computers are on the same network ( the good thing is I am not a complete newbie to networking, though i feel like one know! Thank goodness for Mr. Garwick my highschool computer teacher!)

So how could I go about getting my network connection shared?

I have machines
Athlon XP 2400+ with Windows XP Pro on 10.2.1.2/24
Pentium 4 1.6ghz with Windows XP Pro on 10.2.1.1/24
Laptop (not sure of specs) with Windows XP Home to recieve DHCP from Linux machine.

Last edited by wocdam; 06-07-2003 at 09:39 PM.
 
Old 06-08-2003, 04:59 AM   #5
My_World
LQ Newbie
 
Registered: Apr 2003
Location: South Africa - Kalahari desert
Distribution: Mandrake, Slackware
Posts: 16

Rep: Reputation: 0
See if this helps! --> <--

Last edited by My_World; 06-08-2003 at 05:01 AM.
 
Old 06-09-2003, 01:39 AM   #6
wocdam
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I typed
Quote:
iptables -t nat -A POSTROUTING -s 10.2.1.0/24 -d 0/0 -j MASQUERADE
like that post said and this is what I get, (also when i run my rc.firewall-2.4


root@haloid:~# /usr/sbin/iptables -t nat -A POSTROUTING -s 10.2.1.0/24 -d 0/0 -j MASQUERADE
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o.gz: init_module: Device or resource busy
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o.gz: insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o.gz failed
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o.gz: insmod ip_tables failed
iptables v1.2.7a: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
root@haloid:~#


I am a bit confused... dont i have most current version i believe?!
 
Old 06-12-2003, 12:51 AM   #7
wocdam
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
does anyone have an idea? i hate to double post... sorry
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Problems in Slackware w/ Network after Compiling Kernel 2.6.9 wasafiri Linux - Networking 6 12-08-2004 09:22 PM
Mouse and network problems on Slackware 10.0 with kernel 2.6.7 gyodai Slackware 2 08-13-2004 05:39 PM
Network time-out Slackware 10 kern 2.6.7 Network everwhere NIC EdwardA Linux - Hardware 2 06-26-2004 08:16 AM
Network Problems with Slackware 9.1 and VIA Compatible Fast Ethernet Adapter Hell Cheese Slackware 13 06-07-2004 11:11 PM

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

All times are GMT -5. The time now is 06:42 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