LARTC
[Top] [All Lists]

Re: [LARTC] ip alias + dsl modem

To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] ip alias + dsl modem
From: gypsy <gypsy@iswest.com>
Date: Wed, 24 Jan 2007 23:04:20 -0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <000001c73fca$6a805f10$640a0a0a@eve24>
Sender: lartc-bounces@mailman.ds9a.nl
GodSharp wrote:
> 
> Hi Guys,
> 
> Just wondering for some reason when I switched providers(DSL) IP aliasing
> stopped working. And, I am not sure what kind of modem this is, the previous
> one had some Ethernet ports at the back(it has a bult-in 4 port switch) the
> new doesn't have one, only a single Ethernet port and It is directly
> connected to my Linux box.
> 
> My provider gave me a /24 subnet and 9 useable IP's.
> 
> # ip a s eth2
> 6: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
>     link/ether 00:08:a1:72:c1:f5 brd ff:ff:ff:ff:ff:ff
>     inet xxx.xxx.xxx.50/24 brd xxx.xxx.xxx.255 scope global eth2
>     inet xxx.xxx.xxx.51/24 brd xxx.xxx.xxx.255 scope global secondary eth2
>     inet xxx.xxx.xxx.52/24 brd xxx.xxx.xxx.255 scope global secondary eth2
>     inet xxx.xxx.xxx.53/24 brd xxx.xxx.xxx.255 scope global secondary eth2
>     inet xxx.xxx.xxx.54/24 brd xxx.xxx.xxx.255 scope global secondary eth2
>     inet xxx.xxx.xxx.55/24 brd xxx.xxx.xxx.255 scope global secondary eth2
>     inet xxx.xxx.xxx.56/24 brd xxx.xxx.xxx.255 scope global secondary eth2
>     inet xxx.xxx.xxx.57/24 brd xxx.xxx.xxx.255 scope global secondary eth2
>     inet xxx.xxx.xxx.58/24 brd xxx.xxx.xxx.255 scope global secondary eth2
> 
> -- settings --
> ip link set eth2 up
> ip addr flush dev eth2
> ip addr add xxx.xxx.xxx.50/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.51/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.52/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.53/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.54/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.55/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.56/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.57/24 brd xxx.xxx.xxx.255 dev eth2
> ip addr add xxx.xxx.xxx.58/24 brd xxx.xxx.xxx.255 dev eth2
> ip route add default via xxx.xxx.xxx.1
> --- end settings ---
> 
> /proc/sys/net/ipv4/ip_forward is 1
> /proc/sys/net/ipv4/ip_dynaddr is 1

My brain refuses to engage this evening, but I think you mean rp_filter,
not ip_dynaddr.
--
buck
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>