10-16-2023 03:02 AM
Hello,
I deployed a container with its configuration on several cisco C9300L.
On some of them, however, the container (configured as a DHCP client) cannot obtain an ip address.
Or rather, I ran a Wireshark, and it seems as if the container does not send a request to obtain an IP.
This is the configuration of the appid:
app-hosting appid speedtest
app-vnic AppGigabitEthernet trunk
vlan 11 guest-interface 0
app-resource docker
run-opts 1 "-v $(APP_DATA)/smokepingconf:/config"
And this is the AppGigabitEthernet interface config:
interface AppGigabitEthernet1/0/1
switchport mode trunk
end
What else can I try?
Thank you
Solved! Go to Solution.
10-16-2023 03:13 AM
You have options as below :
Three options are available for assigning an IP address to the container:
4. Linux CLI: Logging directly into the container and configuring it using Linux commands.
5. Dynamic Host Configuration Protocol (DHCP): Using the DHCP client in the container and configuring a DHCP server or relay.
6. Cisco IOS XE CLI : Statically assigned via the Cisco IOS XE CLI.
here my containers uses VLAN 100 : (my app interface config looks below)
interface AppGigabitEthernet1/0/1
switchport mode trunk
switchport trunk allow vlan 100
end
where Vlan 100 have DHCP config to allocate IP address from the Pool. (if the switch have DHCP pool configured for vlan 100) that will be DHCP
10-16-2023 03:13 AM
You have options as below :
Three options are available for assigning an IP address to the container:
4. Linux CLI: Logging directly into the container and configuring it using Linux commands.
5. Dynamic Host Configuration Protocol (DHCP): Using the DHCP client in the container and configuring a DHCP server or relay.
6. Cisco IOS XE CLI : Statically assigned via the Cisco IOS XE CLI.
here my containers uses VLAN 100 : (my app interface config looks below)
interface AppGigabitEthernet1/0/1
switchport mode trunk
switchport trunk allow vlan 100
end
where Vlan 100 have DHCP config to allocate IP address from the Pool. (if the switch have DHCP pool configured for vlan 100) that will be DHCP
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