LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   kernel packet forwarding (https://www.linuxquestions.org/questions/linux-networking-3/kernel-packet-forwarding-5428/)

doodah 08-14-2001 04:01 PM

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

dilberim82 08-14-2001 07:13 PM

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 .

doodah 08-15-2001 10:45 AM

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

dilberim82 08-15-2001 11:01 AM

Trust me , i know how good you feel

sancho5 08-17-2001 08:14 PM

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


All times are GMT -5. The time now is 03:43 PM.