Hi Everyone,

 

Hope someone can help me. I run a small LAN at home. The GREEN interface is
ETH0 and the red interface is ETH1. I connect to the internet on the red
interface using a PPPoE connection. I also connect to a bigger WAN (which is
using the 1.0.0.0/8 network range) using the OpenVPN client (Gw2Gw) option
under VPN. Endian does the routing between the WAN and the Internet.

 

My problem is this: Whenever a PPPoE connection is created, endian
automatically assigns 1.1.1.1 as the IP address for ETH1, but this is
causing problems when accessing resources on the VPN tunnel. 

Below is a dump of my network config:

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

    inet6 ::1/128 scope host 

       valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
qlen 1000

    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
1000

    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

--> inet 1.1.1.1/24 brd 1.1.1.255 scope global eth1

    inet6 aaaa::000:00aa:aa00:a00/64 scope link 

       valid_lft forever preferred_lft forever

11: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 

    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

    inet 192.168.0.1/24 brd 192.168.0.255 scope global br0

12: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc
pfifo_fast qlen 3

    link/ppp 

    inet XXX.XXX.XXX.XXX peer XXX.XXX.XXX.XXX/32 scope global ppp0

13: tap2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
100

    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 1.255.255.XXX/24 brd 1.255.255.255 scope global tap2
        inet6 aaaa::000:00aa:aa00:a00/64 scope link 
       valid_lft 2591994sec preferred_lft 604794sec
        inet6 aaaa::000:00aa:aa00:a00/64 scope link 
       valid_lft forever preferred_lft forever

 

 

If I log on to Endian and change the IP for ETH1 using "ifconfig eth1
162.10.10.10 netmask 255.255.255.0 up" then the PPPoE (and VPN obviously)
drops and reconnects and everything works..

 

3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 162.10.10.10/24 brd 162.10.10.255 scope global eth1
    inet6 aaaa::000:00aa:aa00:a00/64 scope link
       valid_lft forever preferred_lft forever

 

..until  the PPPoE so much as disconnects or Endian restarts. Then ETH1
reverts back to 1.1.1.1. I tried finding a config file to change the
assigned IP for the PPPoE interface to no avail. I even tried to configure
the RED interface with only a static IP and manual gateway and DNS addresses
before setting up the PPPoE connection but this changed nothing.

 

Any help and direction will be appreciated.

 

 

Regards

 

Louwrens van Deventer

------------------------------------------------------------------------------
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to