Link to home
Start Free TrialLog in
Avatar of PCANW
PCANW

asked on

Sharing the internet from wireless to eth1

Hello
I’m using VirtualBox on my laptop and I have extra a wireless card for VirtualBox.  I changed the ip addresses I have some problems and I have mansion here
On VirtualBox, there is 2 OS. One is a fedora server and another is an Ubuntu client.
Fedora has 2 NIC one is external wireless, another is as Ethernet which is internal: adapter to internal network and Promiscuous mode allow all  
From fedora: When I ping to the client, it is pinging but when I ping to yahoo.com it don’t ping shows me “Destination Host Unreachable”
However when I disable the internal card, it is pinging to yahoo.com

I changed the file sysctl.conf as net.ipv4.ip_forward=1
# iptables -A FORWARD -i eth1 -j ACCEPT
# iptables -A FORWARD -o eth1 -j ACCEPT

Fedora
External ip 10.0.1.30/24
DNS & Getway 10.0.1.1
Internal ip 192.168.1.1/24
Getway 10.0.1.30
Clinet 192.168.1.2/24 getway 192.168.1.2
Please any idea.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PCANW
PCANW

ASKER

Thanks hanccocka!  what should I do and is there any solution?
The solution is to not use a wireless interface card.