05-24-2017 09:15 PM - edited 03-05-2019 08:35 AM
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.
05-24-2017 09:18 PM
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.
05-24-2017 10:29 PM
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
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