Opened 2 years ago

Last modified 2 years ago

#20384 new defect

Defaultroute not restored after pptp goes down

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:


My WAN interface gets its IP from DHCP server. Whenever pptp goes down default route is not restored and therefore internet connection is not working anymore.

Create a script in /etc/ppp/ip-down with something like below
/sbin/route add default gateway

However, this is a quite bad workaround as there is no variable for default gateway and therefore fix address must be used.

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by anonymous

I found the following works better if the external interface is set to DHCP
udhcpc -i eth0.2

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.