HOST MAC address security, only 1 IP from DHCP
Posted: 29. Sep 2009, 21:45
Hi
I have problem getting guest get thru' internet.
In my work env., only MAC address is limited to AD user. so my host machine gets 1 IP from DHCP, there is no way VB adaptor can get another IP.
so my VBOX adaptor is with following setting:
Ethernet adapter VirtualBox Host-Only Network: (i have BRIDGED NETWORKING checked)
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 08-00-27-00-7C-C9
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.24.5.1
DNS Servers . . . . . . . . . . . : 172.24.2.4
172.24.2.5
On my Guest LINUX 2.6 box :
network setting is set to Host only network.
[root@vm1 ~]# ifconfig -a|more
eth0 Link encap:Ethernet HWaddr 08:00:27:63:82:EF
inet addr:192.168.56.10 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::a00
fe63:82ef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:651 errors:0 dropped:0 overruns:0 frame:0
TX packets:1246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59289 (57.8 KiB) TX bytes:129407 (126.3 KiB)
Interrupt:11 Base address:0xd020
[root@vm1 ~]# more /etc/resolv.conf
search local.com
nameserver 192.168.56.1
nameserver 192.168.56.1
[root@vm1 ~]# more /etc/sysconfig/network-scripts/if*eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
HWADDR=08:00:27:63:82:EF
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
DHCP_HOSTNAME=192.168.56.1
IPADDR=192.168.56.10
NETMASK=255.255.255.0
GATEWAY=192.168.56.1
I can ping from host to guest and guest to host.
but i can not ping anything on internet from guest e.g. ping http://www.yahoo.com
i can not ping any DNS setup on HOST either e.g. ping 172.24.2.4
can somebody tell me how i can accomplice this ?
thanks
Ken
I have problem getting guest get thru' internet.
In my work env., only MAC address is limited to AD user. so my host machine gets 1 IP from DHCP, there is no way VB adaptor can get another IP.
so my VBOX adaptor is with following setting:
Ethernet adapter VirtualBox Host-Only Network: (i have BRIDGED NETWORKING checked)
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 08-00-27-00-7C-C9
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.24.5.1
DNS Servers . . . . . . . . . . . : 172.24.2.4
172.24.2.5
On my Guest LINUX 2.6 box :
network setting is set to Host only network.
[root@vm1 ~]# ifconfig -a|more
eth0 Link encap:Ethernet HWaddr 08:00:27:63:82:EF
inet addr:192.168.56.10 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::a00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:651 errors:0 dropped:0 overruns:0 frame:0
TX packets:1246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59289 (57.8 KiB) TX bytes:129407 (126.3 KiB)
Interrupt:11 Base address:0xd020
[root@vm1 ~]# more /etc/resolv.conf
search local.com
nameserver 192.168.56.1
nameserver 192.168.56.1
[root@vm1 ~]# more /etc/sysconfig/network-scripts/if*eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
HWADDR=08:00:27:63:82:EF
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
DHCP_HOSTNAME=192.168.56.1
IPADDR=192.168.56.10
NETMASK=255.255.255.0
GATEWAY=192.168.56.1
I can ping from host to guest and guest to host.
but i can not ping anything on internet from guest e.g. ping http://www.yahoo.com
i can not ping any DNS setup on HOST either e.g. ping 172.24.2.4
can somebody tell me how i can accomplice this ?
thanks
Ken