LinuxQuestions.org
Visit Jeremy's Blog.
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 08-14-2001, 04:01 PM   #1
doodah
Member
 
Registered: Apr 2001
Location: Columbus,OH
Distribution: slackware
Posts: 122

Rep: Reputation: 15
kernel packet forwarding


hey everybody,

Question, do i need any of the packet forwarding options compiled into the kernel to be able to network another computer on a seperate eth card???

this is what im trying to do...

eth0 -- roadrunner -- dhcp
eth1 -- static ip -- conecting to a window$ box

pretty simple, i have all eth cards working, via ifconfig and i also setup some routes(below), but i cannot get either box to communicate... i can ping each card from its own box but not each other and i also see action on the hub when trying to ping between the boxes.. i dont think the eth cards are the problem.. but the problem may be in my route commands, alas i am a networking newbie...

% route add -net 192.20.30.0 netmask 255.255.255.0 eth1

% route add -host 192.20.30.2 netmask 255.255.255.0 eth1

this seems to work fine.. but still no luck.. im about to take winblow$ off the other box and have another slackware'd box and see if that works... who knows!?! aaaahhh.. if anyone has some input, or if anything is unclear, ill be listening
 
Old 08-14-2001, 07:13 PM   #2
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
Why are you using 192.20.30.0? Did you pay to get two public ips? I dont think wiping off the windowz machine will help your problem. If you are going to ip masquerade then you should use use an ip from 192.168.0.0 to 192.168.255.255 on eth1 and one of them for your windowz machine. check out www.ipmasq.cjb.net .
 
Old 08-15-2001, 10:45 AM   #3
doodah
Member
 
Registered: Apr 2001
Location: Columbus,OH
Distribution: slackware
Posts: 122

Original Poster
Rep: Reputation: 15
i got it... i asked a couple network guys i know and they said everything that i had done was right, well except for the public ip, and suggested that i switch out the NIC.. so i did, i just moved it to the next pci above it and now it works fine... probably sharing an irq that was causing the problem?? strange though that i could ping the card from the local box... but it works and it feels good to stop swearing after a day of speaking nothing but profanity to my boxes







thanks



_peace
 
Old 08-15-2001, 11:01 AM   #4
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
Trust me , i know how good you feel
 
Old 08-17-2001, 08:14 PM   #5
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
lol.. glad i'm not the only one that uses profanity with my computers...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
packet forwarding? one.eleven Linux - Networking 19 11-08-2006 03:35 AM
packet fragmentation in packet forwarding code cranium2004 Linux - Networking 0 05-16-2005 04:05 AM
How to enable packet forwarding davidho3 Linux - Networking 2 10-12-2004 10:45 AM
could i ask a question about forwarding a packet mostafa_ezz Linux - Networking 0 02-07-2004 02:05 PM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

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

All times are GMT -5. The time now is 05:54 PM.

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