Hi Team,
First of all I would like to thanks everyone who spend their precious time to resolve issues for others. Thanks Guys
About my problem
----------------------
I have OpenSuse 12.2 using as Xen host and opensuse 12.2 as virtual machine in it. i have dhcp connection coming from router (belkin) to host and guest machines. Xen host is using bridging br0 interface. Currently both host and guest are configured with dhcp and they are working fine, able to communicate with each other, sshd and console are good but i cannot manage them with domain names, IP address keeps changing everytime i reboot the system so i decided to set the static IP but problem is If i set to static i am getting the ip i want but then i will loose the network (Internet) connection and i can't ping any thing.
root@:/etc/sysconfig/network $ ifconfig
br0 Link encap:Ethernet HWaddr 38:60:77:A2:89:6E
inet addr:192.168.2.3 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::3a60:77ff:fea2:896e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6797 errors:0 dropped:0 overruns:0 frame:0
TX packets:6734 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5306983 (5.0 Mb) TX bytes:1000058 (976.6 Kb)
eth0 Link encap:Ethernet HWaddr 38:60:77:A2:89:6E
inet6 addr: fe80::3a60:77ff:fea2:896e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9858 errors:0 dropped:0 overruns:0 frame:0
TX packets:6913 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6363414 (6.0 Mb) TX bytes:1061671 (1.0 Mb)
Interrupt:20 Memory:fe500000-fe520000
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:394 errors:0 dropped:0 overruns:0 frame:0
TX packets:394 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34525 (33.7 Kb) TX bytes:34525 (33.7 Kb)
root@:/etc/sysconfig/network $
=========================================
$ cat ifcfg-br0
BOOTPROTO='dhcp'
BRIDGE='yes'
BRIDGE_FORWARDDELAY='0'
BRIDGE_PORTS='eth0'
BRIDGE_STP='off'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
NAME=''
PREFIXLEN='24'
================================
root@:/etc/sysconfig/network $cat ifcfg-eth0
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='Intel Ethernet controller'
NETMASK=''
NETWORK=''
PREFIXLEN='32'
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
Please help me in setting up the static IP on both host and guest machines so that I can easily manage with domain names. Thanks
No comments:
Post a Comment