cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
277
Views
0
Helpful
2
Replies

route to vlan without a local interface on cisco catalyst 3850

deadcow777
Level 1
Level 1

Hi, could somebody tell me how to route packets without a local interface ?

The problem is that I CAN'T assign an IP on router R2 from 10.10.10.0 network. I just don't have the IPs.

10.10.10.x is advertised via BGP:

SW1#sh ip bgp 10.10.10.0
BGP routing table entry for 10.10.10.0/24, version 23
Paths: (1 available, best #1, table default)
  Advertised to update-groups:
     3         
  Refresh Epoch 1
  Local
    0.0.0.0 from 0.0.0.0 (10.50.47.6)
      Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local, best
      rx pathid: 0, tx pathid: 0x0

SW1#sh ip route 10.10.10.0
Routing entry for 10.10.10.0/24
  Known via "static", distance 1, metric 0 (connected)
  Advertised by bgp 64513
  Routing Descriptor Blocks:
  * directly connected, via Vlan963
      Route metric is 0, traffic share count is 1

I need this route to make the network connected:

ip route 10.10.10.0 255.255.255.0 Vlan963

BGP will not advertise it without the network being connected.

SW1#sh run int  vlan 963
Building configuration...

Current configuration : 40 bytes
!
interface Vlan963
 no ip address
end

Server is on port gig1/0/13:

SW1#sh run int   gig1/0/13    
Building configuration...

Current configuration : 160 bytes
!
interface GigabitEthernet1/0/13
 description ECS
 switchport trunk allowed vlan 222,700,900,963,964
 switchport mode trunk
 spanning-tree portfast trunk
end

Please help. Thanks.

2 Replies 2

deadcow777
Level 1
Level 1

Forgot to say that I route packets to host 2.2.2.2 via 1.1.1.1, but as I understand 3850 doesn't know where to forward packets to 10.10.10.2.

I figured it out i needed to create this route:

ip route 10.10.10.2 255.255.255.255 1.1.1.2 permanent

Review Cisco Networking for a $25 gift card