PPPOE additional subnet
Krzysztof Lew <[email protected]> Tue, 17 Feb 2015 11:08:12 +0100
| Newsgroups | gmane.linux.debian.user.isp |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've a server running Debian 6.0.10. Recently I've changed ISP provider and now I've provider VDSL modem running in bridge mode which require PPPOE. I've configured connection accroding to https://wiki.debian.org/PPPoE and it's running fine. eth0 is connected to VDSL modem eth1 is connected to LAN During pppoe initialization I receive my static IP 78.a.b.c I've also assigned additional IP subnet 78.d.e.f/29. I can add additional IP's to my ppp0 interface ip a a 78.d.e.g/29 dev ppp0 and this is running fine. IP is reachable from the internet etc. What I'm looking for is proper, debian-way to add this additional IP's into configuration, so they would be added to ppp0 automatically. I was looking for a while in the internet but I didn't find any guide. I've tried standard way in /etc/network/interfaces, but it's not working: /etc/network/interfaces auto lo eth0 eth1 iface lo inet loopback iface eth0 inet manual iface eth1 inet static address 192.168.k.1 netmask 255.255.255.0 auto netia iface netia inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider netia up ip addr add 78.d.e.g/29 brd 78.d.e.m dev ppp0 label ppp0:g up ip addr add 78.d.e.h/29 brd 78.d.e.m dev ppp0 label ppp0:h up ip addr add 78.d.e.i/29 brd 78.d.e.m dev ppp0 label ppp0:i up ip addr add 78.d.e.j/29 brd 78.d.e.m dev ppp0 label ppp0:j up ip addr add 78.d.e.k/29 brd 78.d.e.m dev ppp0 label ppp0:k Where should be those additional IP's added? Somewhere in /etc/ppp ? BR, Noe -- -- Krzysztof Lew [email protected]