Assign IP address to port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2020 07:26 PM
assign IP address to port
hello everyone
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2020 11:05 PM
- You can only do that on a l3 switch , here is an example :
switch(config)# interface ethernet x/y
switch(config-if)# no switchport
switch(config-if)# ip address 192.0.2.1/8
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020 07:08 AM
what is the device model IOS.
in general
config t
!
interface gi 0/1 -- change this as per requirement
no switchport -- this convert port to layer 3
ip address 10.10.10.1 255.255.255.0 < -- change this as per requirement.
no shutdown
!
end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2020 05:57 AM
Hello
do the configuration of the switch as indicated to me (see switch image) with an ip address 192.168.1.10, however, the IP address of the computer (see ipPC image) is different from the one configured in the port and there is communication, however In this scenario, should the switch reject the communication?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2020 06:55 AM
if the PC connected to port Fas0/1 ( this is layer2 port)
PC should able to ping 192.168.1.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 01:02 PM
Perhaps there is something in the post that I am not understanding. When I look at the image showing switch I see an interface with an IP v4 address. When I look at the image showing PC I see the PC is configured with an IP v4 address that is in the same subnet as the switch address. I would expect the PC and the switch to be able to communicate using IP v4. Is there some reason why you would expect the switch to reject the communication?If so please explain to me what you believe the issue to be.
Rick
