XenServer 4.1
With the release of 4.1 and later, the management of network configurations are now controlled by the XAPI and not done through manipulating the network configuration files.
- From the command line interface (CLI), identify the Physical Interface (PIF) you want to set the IP address on:
[root@xenserver-xxxxxx ~]# xe pif-list params=all
uuid ( RO) : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
device ( RO): eth0
MAC ( RO): 00:1d:09:08:85:0c
physical ( RO): true
currently-attached ( RO): true
MTU ( RO): 1500
VLAN ( RO): -1
bond-master-of ( RO):
bond-slave-of ( RO):
management ( RO): true
network-uuid ( RO): xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
network-name-label ( RO): Pool-wide network associated with eth0
host-uuid ( RO): 074bc1df-2560-4de8-9b8a-e483df1109c3
host-name-label ( RO): xenserver-xxxxxx
IP-configuration-mode ( RO): Static
IP ( RO): 10.217.130.3
netmask ( RO): 255.255.255.240
gateway ( RO): 10.217.130.1
DNS ( RO): 10.217.130.2
io_read_kbs ( RO):
io_write_kbs ( RO):
carrier ( RO): true
vendor-id ( RO): 14e4
vendor-name ( RO): Broadcom Corporation
device-id ( RO): 167a
device-name ( RO): NetXtreme BCM5754 Gigabit Ethernet PCI Express
speed ( RO): 100 Mbit/s
duplex ( RO): full
disallow-unplug ( RW): false
pci-bus-path ( RO): 0000:04:00.0
other-config (MRW): - Use the pif reconfigure command to set the values: [root@xenserver-xxxxxx ~]# xe –pif-reconfigure-ip DNS=x.x.x.x gateway=x.x.x.x IP=x.x.x.x netmask=x.x.x.x uuid= xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (enter the uuid of the PIF you want to reconfigure)
Nenhum comentário:
Postar um comentário