jcob_l
asked on
internet
I want to bring internet to my linux machine..
My linux machine is virtualised using vmware server..
my windows network information is give below..
C:\Users\Mathew>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : hsd1.ca.comcast.net.
Link-local IPv6 Address . . . . . : fe80::1806:e3bb:d0af:8c05% 10
IPv4 Address. . . . . . . . . . . : 10.0.0.4
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.1
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::3937:8fb:a2e0:7d4b%2 2
IPv4 Address. . . . . . . . . . . : 192.168.129.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::5852:c741:54dd:df90% 23
IPv4 Address. . . . . . . . . . . : 192.168.175.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::1ce7:65a9:f396:d542% 27
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Tunnel adapter Local Area Connection* 16:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : hsd1.ca.comcast.net.
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{24BAD001-8966-4B55 -89DE-4AAC 8EEBE2FE}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{7CDF0393-A1D5-442F -9E01-9763 06BAC101}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{683E0757-E291-4CBE -BDEC-C33B 72EC86EC}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
my /bin/ifconfig of linux machine is
root@server1 ~]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:5D:39:09
inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::20c:29ff:fe5d:3909/6 4 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1204 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124783 (121.8 KiB) TX bytes:7458 (7.2 KiB)
Interrupt:75 Base address:0x2024
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2481 errors:0 dropped:0 overruns:0 frame:0
TX packets:2481 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4005192 (3.8 MiB) TX bytes:4005192 (3.8 MiB)
[root@server1 ~]#
The screen shot of system-network-config
net1.png
net2.png
My linux machine is virtualised using vmware server..
my windows network information is give below..
C:\Users\Mathew>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : hsd1.ca.comcast.net.
Link-local IPv6 Address . . . . . : fe80::1806:e3bb:d0af:8c05%
IPv4 Address. . . . . . . . . . . : 10.0.0.4
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.1
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::3937:8fb:a2e0:7d4b%2
IPv4 Address. . . . . . . . . . . : 192.168.129.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::5852:c741:54dd:df90%
IPv4 Address. . . . . . . . . . . : 192.168.175.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::1ce7:65a9:f396:d542%
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Tunnel adapter Local Area Connection* 16:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : hsd1.ca.comcast.net.
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{24BAD001-8966-4B55
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{7CDF0393-A1D5-442F
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{683E0757-E291-4CBE
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
my /bin/ifconfig of linux machine is
root@server1 ~]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:5D:39:09
inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::20c:29ff:fe5d:3909/6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1204 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124783 (121.8 KiB) TX bytes:7458 (7.2 KiB)
Interrupt:75 Base address:0x2024
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2481 errors:0 dropped:0 overruns:0 frame:0
TX packets:2481 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4005192 (3.8 MiB) TX bytes:4005192 (3.8 MiB)
[root@server1 ~]#
The screen shot of system-network-config
net1.png
net2.png
ASKER
It is already bridged..
Cool, in picture one please enter subnetmask 255.255.255.0 and default gateway 10.0.0.1 and see what is does.
Why choose for static in the first place? You need a static ip for this VM?
Why choose for static in the first place? You need a static ip for this VM?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I say, reboot the linux machine and you should be good to go?
ASKER
I changed the default to 10.0.0.1
and subnet mask to 255.255.255.0
and restart no change..
and subnet mask to 255.255.255.0
and restart no change..
There is no subnet mask and gateway defined in your guest vm.
Change your guest networking setting from static to dhcp temporary to confirm networking is functional.
If so, flip it back to static using the same subnet mask and gateway info.
Change your guest networking setting from static to dhcp temporary to confirm networking is functional.
If so, flip it back to static using the same subnet mask and gateway info.
What if you temporarely disable the windows firewall?
ASKER
It is already disabled..
Have you try the following?
There is no subnet mask and gateway defined in your guest vm.
Change your guest networking setting from static to dhcp temporary to confirm networking is functional.
If so, flip it back to static using the same subnet mask and gateway info.
ASKER
yes fine
I would recommend to use BRIDGED and have your router give out ip addresses instead of trying for yourself because the linux config doesnt look good to me.
inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0
should look like this IMHO (based on your Windows config)
inet addr:10.0.0.10 Bcast:10.0.0.254 Mask:255.255.255.0