On Sun, Jul 08, 2001 at 03:49:08PM +1000, Ken Foskey uttered:
> > As far as I remember. rp_filter is a IPv4 run-time option in /proc.
> >
> > steven@broken:~$ cat /proc/sys/net/ipv4/conf/eth0/rp_filter
> > 1
> > steven@broken:~$ cat /proc/sys/net/ipv4/conf/eth0/proxy_arp
> > 0
>
>
> So in the eth0 startup script I should echo 0 > ..../rp_filter.
> In eth1 startup script I should echo 1 >.../proxy_arp. What is this
> debian script name that I should modify?
>
> This is still not helping.... This is raptor on the other end not
> freeswan, Raptor or my end may not be configured properly.
>
> Jul 9 01:41:36 debian Pluto[1108]: packet from x.x.x.x:500: ignoring
> informational payload, type NO_PROPOSAL_CHOSEN
> Jul 9 01:41:36 debian Pluto[1108]: packet from x.x.x.x:500: received
> and ignored informational message.
>
> Does anyone have a freeswan server that I can connect to to check my
> basic freeswan setup?
>
> On that my eth0 is Optus cable. It is not automatically coming up
> because it is coming up before the dhcp client (dfhcpcd something like
> that). How do I make this happen in the right order so it comes up
> automatically.
>
It isn't that simple. (It never is, says him.)
Debian uses a file for dragging up interfaces at startup.
And rp_filter is set up by another init script.
*reads the interfaces manpage for clues*
steven@broken:~/ircmap-0.1a$ grep eth0 /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
That, in /etc/network/interfaces (with your other interfaces) will drag them
up at startup.
And then, by using my powers of RTFM, we find this in the man page:
up command
Run command after bringing the interface up. This option can be given
multiple times for a single interface. If so, the commands will be executed
in order. If one of the commands fails, none of the others will be executed,
but the interface will remain configured. (You can ensure a command never
fails by suffixing "|| true".)
Therefore (Gawd, I'll sit down now), you can put this in your eth0 stanza,
for example:
up echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
And similarily for the eth1 stanza. Ohhh, the man page is interfaces(5),
btw.
All together now: Debian's documentation of their own stuff rocks!
--
Steve
"I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
--Me
PGP signature