Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-19-2001, 09:11 AM
|
#1
|
LQ Newbie
Registered: Dec 2001
Posts: 5
Rep:
|
ipforward vs. routing
Hi Forum !
I have some understanding problems with ipforward and the meaning of routing .
I build up a test network with a gateway with 2 interface cards and different network ip's ,activate the ipforwarding ( echo >1 ....)so that the traffic behind the gateway host can reach the extern interface card. That seems to work ( ping from the local network to the extern card of the gateway).
The Ping to the next router ( its of course in the same network like the extern interface card of the gateway doesn't work.
Also the ping to the local interface of the gateway card from the router doesn't work.
router -> extern card-gateway- local card -> local net
192.168.1.10 ->192.168.1.1 gateway 192.168.2.1 -> 192.168.2.2
my meaning of ipforwarding is that every trafic to one interface would be redirect to the other interface , that should be possible in both ways or? that is simple routing ?
why cant i reach from the extern router with ping the client host behind the gateway??
thx for your answers
|
|
|
12-19-2001, 11:20 AM
|
#2
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Rep:
|
routing
I was dealing with the same thing. I had a test environment set up and I thought everything was correct... but I couldn't ping through my "Linux Router". I did have everything set up correctly. The problem was on the router itself. I had to add an entry to tell it how to get back to the machine that sent the ping in the first place.
For my test I had just put a laptop on the other side of my firewall/router. So all I had to do on it was to set up a static route to the inside box pointing it to the firewall/router box as the gateway.
I hope this helps... When I found this out the first time I smacked my head and yelled STUPID STUPID!
I hope you will refrain from such self abuse.
Merry Christmas
Paul
|
|
|
12-19-2001, 11:43 AM
|
#3
|
LQ Newbie
Registered: Dec 2001
Posts: 5
Original Poster
Rep:
|
ipforwarding vs. Routing
thx for your post,
on the client maschine i added a static entry with the internal interface card of the firewall GW as the default entry,
doesn't help
merry xmas
breezer
|
|
|
12-19-2001, 11:49 AM
|
#4
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Rep:
|
When you say client machine are you talking about the "inside" machine?
Paul
|
|
|
12-19-2001, 12:23 PM
|
#5
|
LQ Newbie
Registered: Dec 2001
Posts: 5
Original Poster
Rep:
|
yes i mean the "inside" hosts
|
|
|
All times are GMT -5. The time now is 04:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|