Hi,
I have problem with app-hosting on IR1101. I'm able to run container on IR1101 specified in this link:
https://www.cisco.com/c/en/us/support/docs/routers/1101-industrial-integrated-services-router/214383-build-and-deploy-a-docker-iox-package-fo.html
and I have also this link as background information how to configure app-hosting:
https://www.cisco.com/c/en/us/td/docs/routers/access/1101/software/configuration/guide/b_IR1101config/b_IR1101config_chapter_010001.html
I can run this simple python container specified in a link on IR1101, but the problem is that I cannot get resources from docker container running on IR1101 using GET request from browser. I there other configurations that I must define before that works?
From webUI I get different errors such as cannot change MTU of bridge. Here are my configs:
"version 17.10
service timestamps debug datetime msec
service timestamps log datetime msec
service call-home
platform qfp utilization monitor load 80
platform hardware throughput level 250M
no platform punt-keepalive disable-kernel-core
!
hostname IR1101
!
boot-start-marker
boot system bootflash:ir1101-universalk9.17.10.01a.SPA.bin
boot-end-marker
!
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
aaa authorization network default local
!
!
aaa session-id common
!
!
!
!
!
!
!
ip domain name reitti.net
!
!
!
login block-for 60 attempts 3 within 30
login delay 3
login on-success log
!
!
!
!
!
!
!
subscriber templating
!
!
!
!
!
!
no license feature hseck9
license udi pid IR1101-K9 sn xxxxxxxxxxx
license boot level network-advantage
memory free low-watermark processor 50337
!
diagnostic bootup level minimal
!
spanning-tree extend system-id
et-analytics
!
!
enable secret 9 $9$yUDxBS/qc4UIME$xzwQnsxbXzqOWR/QrflNfYAgNxo4EfW6dKvM5v8pE.M
!
username xxxxx privilege 15 secret 9 $9$xt0irvbP9SCSmk$PRWU34ulkeETXZ3lsRtX5gIDAzVs58sPP3SIR9AONCM
!
redundancy
!
!
!
!
controller Cellular 0/1/0
lte radio off
!
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface VirtualPortGroup0
ip address 192.168.1.1 255.255.255.0
ip nat inside
no mop enabled
no mop sysid
ip virtual-reassembly
!
interface GigabitEthernet0/0/0
no ip address
!
interface FastEthernet0/0/1
switchport access vlan 43
switchport mode access
!
!
interface FastEthernet0/0/2
!
interface FastEthernet0/0/3
!
interface FastEthernet0/0/4
!
interface GigabitEthernet0/0/5
description sw194.7
switchport access vlan 43
switchport trunk allowed vlan 10,43,99
switchport mode access
!
interface Cellular0/1/0
no ip address
shutdown
!
interface Cellular0/1/1
no ip address
shutdown
!
interface Vlan1
no ip address
!
interface Vlan43
description xxxxxxxxxxxx
ip address xxxxxxxxxxxx yyyyyyyyy
ip nat outside
ip virtual-reassembly
!
interface Async0/2/0
no ip address
encapsulation scada
!
iox
ip forward-protocol nd
ip http server
ip http auth-retry 3 time-window 1
ip http authentication local
ip http secure-server
ip nat inside source static tcp 192.168.1.15 9000 interface FastEthernet0/0/1 9000
ip ssh bulk-mode 131072
ip scp server enable
!
!
!
!
!
!
!
!
bridge 1 protocol vlan-bridge
!
control-plane
!
!
!
!
!
!
!
!
line con 0
stopbits 1
line 0/0/0
line 0/2/0
line vty 0 4
exec-timeout 30 0
transport input ssh
line vty 5 10
exec-timeout 30 0
transport input ssh
line vty 11 14
transport input ssh
!
call-home
! If contact email address in call-home is configured as sch-smart-licensing@cisco.com
! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications.
contact-email-addr sch-smart-licensing@cisco.com
profile "CiscoTAC-1"
active
destination transport-method http
ntp server xxxxxxxxxxxxxx
!
!
!
!
!
!
!
!
!
!
!
!
!
app-hosting appid iox_webserver
app-vnic gateway0 virtualportgroup 0 guest-interface 0
guest-ipaddress 192.168.1.15 netmask 255.255.255.0
app-default-gateway 192.168.1.1 guest-interface 0
end"