cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
440
Views
8
Helpful
5
Replies

Non Trunk port rechable other subnet

Shivu b
Level 1
Level 1

Hello All,

Below mentioned interface fa 0/48 has been configured as access port and its coonnected to cisco Router (10.69.12.1).
only one link is connected from switch to router and there is no redundant link.

My question is, switch fa 0/48 has been configured as access port and how its possible to reach other network from switch.
can you please review the logs and guide


************************************************
#sh ip int br
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  10.69.12.16     YES NVRAM  up                    up
Vlan15                 10.69.16.254    YES NVRAM  up                    up
*********************************************
ip default-gateway 10.69.12.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.69.12.1

****************************************

#ping 10.178.125.14

***********************************************
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.178.125.14, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 436/473/512 ms

*********************************************

#sh int Fa0/48
FastEthernet0/48 is up, line protocol is up (connected)
  Hardware is Fast Ethernet, address is 0022.559a.f834 (bia 0022.559a.f834)
  Description: Connection to A
 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 7/255, rxload 8/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, media type is 10/100BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 27586
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 3229000 bits/sec, 592 packets/sec
  5 minute output rate 3056000 bits/sec, 694 packets/sec
     2135340944 packets input, 1629346362857 bytes, 0 no buffer
     Received 2965784 broadcasts (10805 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 10805 multicast, 0 pause input
     0 input packets with dribble condition detected
     2212920645 packets output, 976750575709 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
********************************************************

#sh run int Fa0/48
Building configuration...

Current configuration : 147 bytes
!
interface FastEthernet0/48
 description Connection to
 switchport mode access
 spanning-tree portfast
end

*****************************************************

#sh int fa 0/48 switchport
Name: Fa0/48
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

**************************

#sh int fa 0/48 trunk

Port        Mode             Encapsulation  Status        Native vlan
Fa0/48      off              negotiate      not-trunking  1

Port        Vlans allowed on trunk
Fa0/48      1

Port        Vlans allowed and active in management domain
Fa0/48      1

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/48      1

5 Replies 5

Mark Malone
VIP Alumni
VIP Alumni

Hi

Your sending all traffic the switch doesn't know about up to the router to process with this line ....ip route 0.0.0.0 0.0.0.0 10.69.12.1

so the router is looking after the routing for that network not the switch  , the address your pinging 10.178.125.14 does not look to be local to the switch so it forwards it out to the router to process

Hi Mark,

Thanks for your reply.

switch will send out traffic through static default routing but how it could be possible traffic pass via non trunk port. to cisco router.

Default Gateway for switch-- 10.69.12.1

****************************************

sh run int Fa0/48
Building configuration...

Current configuration : 147 bytes
!
interface FastEthernet0/48
 description Connection to
 switchport mode access
 spanning-tree portfast
end

Hi

it doesn't matter whether its a trunk or an access port as your sending it to the router , your sending all traffic to the router to process that's not local , its sending traffic to its next hop ip address

thanks mark

Hello

If you dont need vlan 15 remove it and then the switch can also be change to a host switch no need to have Ip routing enabled

ip default-gateway 10.69.12.1

no into vlan 15
no p routing 

res

paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card