Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: routing question
- Date: Sat, 26 Jun 2004 22:07:03 +0200
- From: Tobias Diedrich <ranma@example.com>
- Subject: [tlug] Re: routing question
- References: <20040626195119.5450ddc0.tlug@example.com> <20040626110829.GA30783@example.com> <20040626205150.7e11be74.tlug@example.com> <20040626120306.GB30950@example.com> <20040626214921.5ad8fb7f.tlug@example.com>
- User-agent: Mutt/1.5.5.1+cvs20040105i
Botond Botyanszki wrote: > I have no problem accessing this network from the firewall, but cant get > to the zaurus at 192.168.129.201. Same in reverse. > > In a diagram it's like this: > > +-------------------------------------> > | <----------------------------------+ > firewall laptop eth0 laptop usb0 zaurus usbd0 > 192.168.1.1 <--> 192.168.2.12 <--> 192.168.129.1 <--> 192.168.129.201 > > Trying to assign a different gw for the zaurus other than 192.168.129.1 > gives a "network unreachable" error. I _guess_ that the packets from your zaurus reach their destination, but the reply doesn't get back to your zaurus because you didn't set up your routing for the reverse direction. The machine with IP 192.168.2.1 or its default gw needs to know that it has to route packets destined to 192.168.129.201 over your notebook. You can avoid fiddling with the other routing tables by masquerading the packets from your zaurus on your notebook. A packet sniffer like ethereal or tcpdump is a good tool to check where the packets get stuck. Sometimes enabling logging of martians and disabling the reverse path filter can also help debugging complicated setups (/proc/sys/net/ipv4/conf/*/(rp_filter|log_martians)). -- Tobias PGP: http://9ac7e0bc.2ya.com Beware of bugs in the above code; I have only proved it correct, but not tried it. -- Donald KnuthAttachment: signature.asc
Description: Digital signature
- Follow-Ups:
- Re: [tlug] Re: routing question
- From: Botond Botyanszki
- References:
- [tlug] routing question
- From: Botond Botyanszki
- Re: [tlug] routing question
- From: uvacoder
- Re: [tlug] routing question
- From: Botond Botyanszki
- Re: [tlug] routing question
- From: uvacoder
- Re: [tlug] routing question
- From: Botond Botyanszki
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] routing question
- Next by Date: Re: [tlug] routing question
- Previous by thread: Re: [tlug] routing question
- Next by thread: Re: [tlug] Re: routing question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links