Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 13th April 2017, 10:23 AM
Dr Nukular Offline
Registered User
 
Join Date: Jan 2017
Location: Oslo
Posts: 46
linuxfirefox
Internet connection drops with VPN active and VirtualBox running

I have a really weird issue with my internet connection using VirtualBox on Fedora 25.

As soon as I activate my VPN on my Linux host, my internet drops. I can't access the internet on my host or guest (Windows 7).

I'm accessing the internet through a router. If I activate the VPN without running VirtualBox, everything works just fine. As soon as I start (or keep running) VB, the internet drops on both host and guest.

Here's some information about my network configuration:

with VPN OFF
Code:
[root@linux ~]$ ifconfig
        enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 3c:97:0e:c4:f2:85  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf3a00000-f3a20000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Lokale Schleife)
        RX packets 48  bytes 3420 (3.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 48  bytes 3420 (3.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:e0:f2:0c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.42.23  netmask 255.255.255.0  broadcast 192.168.42.255
        inet6 fe80::92c:fd8c:a82e:9ef8  prefixlen 64  scopeid 0x20<link>
        ether 3c:a9:f4:65:37:49  txqueuelen 1000  (Ethernet)
        RX packets 153645  bytes 198326273 (189.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 110073  bytes 13381740 (12.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Code:
[root@linux ~]$ route
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
default         192.168.42.1       0.0.0.0         UG    600    0        0 wlp3s0
192.168.42.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

with VPN ON
Code:
[root@linux ~]$ ifconfig
        enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 3c:97:0e:c4:f2:85  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf3a00000-f3a20000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Lokale Schleife)
        RX packets 24  bytes 1840 (1.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 24  bytes 1840 (1.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.7.7.17  netmask 255.255.255.0  destination 10.7.7.17
        inet6 fe80::c880:6b7e:b0af:db66  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 32  bytes 6532 (6.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 43  bytes 3796 (3.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:e0:f2:0f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.42.32  netmask 255.255.255.0  broadcast 192.168.42.255
        inet6 fe80::92c:fd8c:a82e:9ef8  prefixlen 64  scopeid 0x20<link>
        ether 3c:a9:f4:65:37:49  txqueuelen 1000  (Ethernet)
        RX packets 1482393  bytes 2115633017 (1.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 773554  bytes 83062512 (79.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Code:
[root@linux ~]$ route
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    50     0        0 tun0
default         gateway         0.0.0.0         UG    600    0        0 wlp3s0
10.7.7.0        0.0.0.0         255.255.255.0   U     50     0        0 tun0
178.250.48.21   gateway         255.255.255.255 UGH   600    0        0 wlp3s0
192.168.42.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0
gateway         0.0.0.0         255.255.255.255 UH    600    0        0 wlp3s0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
Internet access goes through wlp3s0. With the VPN inactive, internet access works on both sides.

For my guest I have only Adapter 1 active using NAT.

I know it is related to my network settings, I just don't know if the settings on my host or guest need optimization and how to set it up so that it finally works.

Has anyone an idea how this issue can be fixed? Thanks!

Last edited by Dr Nukular; 13th April 2017 at 10:48 AM.
Reply With Quote
 

Tags
active, connection, drops, host, internet, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] local websties are not working when internet connection is active megaloman Using Fedora 3 7th June 2012 03:59 PM
Yum without an active internet connection kombucha Using Fedora 1 2nd July 2006 03:03 AM
eth0 is active but no internet connection. New FC5 install jsweatte Servers & Networking 2 30th March 2006 05:40 PM


Current GMT-time: 22:39 (Sunday, 23-07-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat