cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
350
Views
0
Helpful
1
Replies

Container cannot obtain an ip address

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

 

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

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

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

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

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card