Hi all,
I have installed centos 6.2 in vitualbox in windows xp. After default installation i try to change the ipadress of centos operating system in virtualbox .Our local lan network ipadrress
10.200.2.37 255.255.255.0 10.200.2.3 .But it's picking up default dhcp ipaddress.Whether virtualbox works on static ipaddress alone.Can anyone help me
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\admin>ipconfig
Windows IP Configuration
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.203.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.31.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.200.2.36
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.200.2.3
C:\Documents and Settings\admin>
Quote:
After changing of ipadress i try to restart the centos box to pick the ipaddress of our local lan network ,But it restarted with any sort of error .but it doesint pick my local ipaddress
|
[centos@localhost Desktop]$ service network restart
[centos@localhost Desktop]$
centos 5.4 in virtualbox
[centos@localhost ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29
1:46:19
inet addr:192.168.203.147 Bcast:192.168.203.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fed1:4619/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6670 errors:0 dropped:0 overruns:0 frame:0
TX packets:4212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9500579 (9.0 MiB) TX bytes:237294 (231.7 KiB)
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)