Displaying 4 results from an estimated 4 matches for "ip_of".
2012 Jul 09
3
Bug#437127: [PATCH] hotplug: fix ip_of for systems using peer-to-peer link
# HG changeset patch
# User Ian Campbell <ian.campbell at citrix.com>
# Date 1341875694 -3600
# Node ID 1d33f934dd675a1b91d2d4e0fa2d2a873a8debf5
# Parent 54384951de02e2db909116d64aa6a65d06ffa708
hotplug: fix ip_of for systems using a peer-to-peer link
This is from an old Debian bug at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437127
I'm slightly inferring what the configuration which trigger this issue is, the
bug report says:
This code however fails if no slash is present in the address, w...
2012 Jul 09
3
Bug#437127: [PATCH] hotplug: fix ip_of for systems using peer-to-peer link
# HG changeset patch
# User Ian Campbell <ian.campbell at citrix.com>
# Date 1341875694 -3600
# Node ID 1d33f934dd675a1b91d2d4e0fa2d2a873a8debf5
# Parent 54384951de02e2db909116d64aa6a65d06ffa708
hotplug: fix ip_of for systems using a peer-to-peer link
This is from an old Debian bug at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437127
I'm slightly inferring what the configuration which trigger this issue is, the
bug report says:
This code however fails if no slash is present in the address, w...
2007 Aug 10
1
Bug#437127: xen-utils-common: vif-common fails to identify ip address of ethernet device
Package: xen-utils-common
Version: 3.0.3-0-2
Severity: normal
On my systen, the script vif-common fails to retrieve the primary
IP address of my ethernet device, preventing a domU from starting.
I tracked this issue down to the file /etc/xen/script/vif-common.
The function ip_of uses the following shell code to extract the
address:
ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed -n '1 s,/.*,,p'
This code however fails if no slash is present in the address, which
is the case in my configuration:
stefan at datenbruch:/etc/xen/scripts...
2012 Dec 24
3
vif-route issue with HVM domU only
..., try "ip route help".
Command "188.40.175.7" is unknown, try "ip route help".
With some debugging it seems like it''s actually passing in the IP address, but not a $ipcmd telling either add or remove:
+ echo remove type_if=tap
++ dom0_ip
++ local nd=eth0
+++ ip_of eth0
+++ ip -4 -o addr show primary dev eth0
+++ awk ''$3 == "inet" {split($4,i,"/"); print i[1]; exit}''
++ local result=188.40.114.136
++ ''['' -z 188.40.114.136 '']''
++ echo 188.40.114.136
+ main_ip=188.40.114.136
+ ''[...