Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1821
| From | Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: Iptables or routing issue |
| Date | 2012-11-16 01:34 +0100 |
| Organization | Plouf ! |
| Message-ID | <k841nn$jsv$1@saria.nerim.net> (permalink) |
| References | <alpine.LNX.2.00.1211141524310.3380@talea.stoecker.eu> |
Hello, Dirk Stöcker a écrit : > > Hardware: > - one PC running openSUSE > - multiple serial ports > - on each serial port is a device with ppp capabilities > - hardcoded IPs aren't changeable > - device IP is 192.168.171.1 > - host IP is 192.168.171.2 > > Now the problem is that both have same IP setup. > > Solution: Using routing tables and iptables the IP's are mapped into the > range 10.0.port.1, where port is the serial port number (or ppp device > number). > > Problem: > For the first connected IP this setup works. For the second IP it seems > incominmg packets are lost. I see the packets in "mangle" prerouting, but > not in any later step. For the first connecting the are properly handled > and delivered. Check that rp_filter is disabled for the PPP interfaces. Note that the logic combining net.ipv4.conf.all.rp_filter and net.ipv4.conf.<interface>.rp_filter has changed at some point of the kernel development.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Iptables or routing issue Dirk Stöcker <news@dstoecker.de> - 2012-11-14 17:44 +0100
Re: Iptables or routing issue Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-11-16 01:34 +0100
Re: Iptables or routing issue Dirk Stöcker <news@dstoecker.de> - 2012-11-16 11:35 +0100
csiph-web