---------- Forwarded message ---------- From: Юрий Аполлов <[email protected]> Date: 2009/7/23 Subject: Re: PPTP connection: NM chooses wrong default route To: Andreas Winkelbauer <[email protected]>
2009/7/22 Andreas Winkelbauer <[email protected]> Hi, > > I am currently using NM 0.7.1 on Fedora 11. I have the following NM > packages installed: > > $ rpm -qa | grep -i networkmanager > NetworkManager-openconnect-0.7.0.99-5.fc11.x86_64 > NetworkManager-openvpn-0.7.0.99-1.fc11.x86_64 > NetworkManager-pptp-0.7.0.99-1.fc11.x86_64 > NetworkManager-vpnc-0.7.0.99-1.fc11.x86_64 > NetworkManager-glib-0.7.1-4.git20090414.fc11.x86_64 > NetworkManager-devel-0.7.1-4.git20090414.fc11.x86_64 > NetworkManager-glib-devel-0.7.1-4.git20090414.fc11.x86_64 > NetworkManager-0.7.1-4.git20090414.fc11.x86_64 > NetworkManager-gnome-0.7.1-4.git20090414.fc11.x86_64 > > I setup a PPTP connection using NM to be able to access the internet via a > LAN connection at my University. The PPTP connection itself works, but I > can't access the internet, because NM still uses eth0 for the default route > instead of switching over to ppp0. > > All addresses are automatically assigned via DHCP and I did not setup any > static, manually configured, routes. > > After executing su -c 'ip route replace default dev ppp0' everything works > fine, except connection drops due to suboptimum MTU settings (so I usually > also run su -c 'ifconfig ppp0 mtu 1416' or something similar). > > Of course I can run these two commands after connecting to PPTP using NM, > but this is rather cumbersome. Is there anything I can do to tell (or force) > NM to use the PPTP connection, ppp0, as default route? > > In general I think it would be very useful for any kind of connection in NM > to have some means of choosing it as default route. Furthermore configurable > MTU settings would be helpful too. The things should probably go into a > advanced settings dialog. > > BTW: If I create the connection in a terminal (e.g. by running "pptpsetup > --create uni --server $SERVER --username $USERNAME --password $PASSWORD > --start && ip route replace default dev ppp0") everything works nicely. > > Any help is highly appreciated! > > Bye, > Andi > _______________________________________________ > NetworkManager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list > Guess you have to check "Use only for resourses of this network" in your eth0 connection. if I'm not mistaken, it'll send all your traffic not to internal netwok via ppp0
_______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
