Hello All!
I use Cisco3850 and IOS-XE ver : Cisco IOS XE Software, Version 16.12.07
I'm having problems accessing the gateway from the guestshell!
config:
Switch#sh iox
IOx Infrastructure Summary:
---------------------------
IOx service (CAF) 1.8.0.8 : Running
IOx service (HA) : Not Supported
IOx service (IOxman) : Running
Libvirtd 1.3.4 : Running
interface VirtualPortGroup0
ip address 10.0.26.1 255.255.255.0
end
app-hosting appid guestshell
app-vnic gateway0 virtualportgroup 0 guest-interface 0
guest-ipaddress 10.0.26.2 netmask 255.255.255.0
app-default-gateway 10.0.26.1 guest-interface 0
end
##
Switch#sh app-hosting detail
App id : guestshell
Owner : iox
State : RUNNING
Application
Type : lxc
Name : guestshell
Version : 0.1
Description : MontaVista guestshell
Path : /tmp/sw/rp/0/0/guestshell/mount:guestshell.tar
Activated profile name : custom
Resource reservation
Memory : 256 MB
Disk : 1 MB
CPU : 800 units
VCPU : 1
Attached devices
Type Name Alias
---------------------------------------------
serial/shell iox_console_shell serial0
serial/aux iox_console_aux serial1
serial/syslog iox_syslog serial2
serial/trace iox_trace serial3
Network interfaces
---------------------------------------
eth0:
MAC address : 52:54:dd:8c:4d:4b
IPv4 address : 10.0.26.2
Network name : VPG0
Port forwarding
Table-entry Service Source-port Destination-port
---------------------------------------------------
But:
Switch#ping 10.0.26.2 source virtualPortGroup 0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.26.2, timeout is 2 seconds:
Packet sent with a source address of 10.0.26.1
.....
Success rate is 0 percent (0/5)
Switch#
Switch#sh ip arp 10.0.26.2
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.26.2 101 5254.dd8c.4d4b ARPA VirtualPortGroup0
##
Switch#guestshell run sudo ifconfig eth0
eth0 Link encap:Ethernet HWaddr 52:54:DD:8C:4D:4B
inet addr:10.0.26.2 Bcast:10.0.26.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ddff:fe8c:4d4b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1818 (1.7 KiB) TX bytes:1712 (1.6 KiB)