05-14-2018 04:58 PM - edited 03-05-2019 10:27 AM
So I read that as of IOS XE 16.8.1, you can enable the guestshell with only 4G of RAM which is what our ISR 4221s have. How do we configure this? I get the following when trying:
Test_host#guestshell enable
Interface will be selected if configured in app-hosting
Please wait for completion
% Error: No interface configuration for guestshell
The goal is to get iperf on the guestshell and talking to another iperf server. Is this possible using Gi0/0/0 on the router with some kind of NAT?
03-28-2020 11:08 PM
03-09-2020 02:47 PM
Hello,
What this documentation does not say is the missing piece of the puzzle>
https://www.ciscolive.com/c/dam/r/ciscolive/apjc/docs/2019/pdf/DEVWKS-1301.pdf
First you need to use NAT if you want guestshell to have access to outside since guestshell uses the virtualportgroup to communicate. Virtualportgroup needs and ip. Once that is done you do the following which is not described on any document.
conf ter
!
app-hosting appid guestshell <-- hidden command and will be removed eventually
!
vnic gateway1 virtualportgroup 0 guest-interface 0
!
end
wr
This will map your VPG to your physical interface so that guestshell has a working mapped interface. Hope that helps.
Then just run guestshell enable and it should be fine.
Have fun :)
09-03-2021 06:35 PM
SOLVED:
The key on a router like CSR is syntax. I had the same problem as all of you and read all of the same threads but nothing was clear about what the problem was.. missing route attributes, duplicate interfaces...
I found my configs firsts using
Router#show running-config | section app-hosting
!this showed my botched settings for the appid guestshell
>I used a 'no' command in front of each line I didn't want to clean up the config parameters
Router#no app-vnic gateway0 ! removes the gateway0 configs
you need to has an 'app-default-gateway (IP address) guest-interface 0'
also use 1 not 0 for the gateway as well as vnic NOT app-vnic
router(config-if)#vnic gateway 1virtualportgroup 0 guest-interface 0
router(config- gateway)#guest-ipaddress (IP) netmask (subnet)
end
see the pic attached
06-16-2022 10:24 PM
Thanks this worked, although your text and your image are different! I followed what was in your screenshot instead of the text as it is indeed app-vnic not vnic. Not sure why there's a need for multiple gateways but it's working now after I was getting the XML error - by the way Cisco you've left a typo
9300#guestshell enable
Interface will be selected if configured in app-hosting
Please wait for completion
% Error: Error while creating app comtainer XML error: Domain interface: Missing required gateway attribute in route definition
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide