Questions tagged [ip-forwarding-table]
For questions involving the IPv4 or IPv6 Forwarding Information Base (FIB).
36 questions
3
votes
2
answers
971
views
Time taken to complete a routing table update and possible interruption
I am wondering if a routing/forwarding table update at a switching node (e.x., a switch or layer-3 router) can cause momentary packet drop or increased delay for a data stream that will traverse this ...
2
votes
5
answers
2k
views
How is an IP packet sent to the gateway?
This is some route command output sample:
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.240.1 0.0.0.0 ...
0
votes
1
answer
182
views
Find best route in route table using sorting [closed]
I am trying to implement a forwarding algorithm by myself with ARP, ICMP and the forwarding algorithms. Given the routing table:
typedef struct route_table_entry {
uint32_t prefix;
uint32_t ...
1
vote
2
answers
2k
views
Internet Scale Routing Table Size
In the link below, it is said that there are near one million prefixes for IPv4.
https://bgp.he.net/report/netstats
I want to know that it is a must for ISP routers to cache all these million IPv4 ...
1
vote
1
answer
150
views
Route advertisement and FIB programming
Que1. Assuming bgp is running on a network device, will the route advertisement and FIB programming(basically populating entries in hardware) occur in parallel?
Or does it occur sequentially, meaning, ...
0
votes
2
answers
720
views
What are the differences between packet forwarding and network address translation in layer 3?
What are the differences between packet forwarding and network address translation in layer 3?
Is packet forwarding done by a router between two networks that use
public IP addresses?
Is network ...
2
votes
1
answer
246
views
Two channels between two switches
Is there a way to provide two physically diverse channels between two switches? I'm using two Cisco Catalysis 3560s, and I want to have two separate channels between them, with different access ...
1
vote
1
answer
328
views
Reach IP in Parent Network [closed]
We have a router (Router 2) inside a network (Router 1) with a client (Client in Router 2) that needs to make a TCP connection to a client in router 1. We only have access to configure Router 2 and ...
14
votes
3
answers
26k
views
What is the difference between routing table and forwarding table?
What is the difference between a routing table and a forwarding table?
0
votes
1
answer
133
views
Sys Routing Table Router: Destination IP, Gateway IP and Public IP are different, something unusual? [closed]
I am currently studying my home network router Sys Routing Table and attempting to resolve WHY my Public IP (assigned by my ISP), Gateway IP (WAN) and Destination Network (WAN) are all different.
I ...
2
votes
1
answer
353
views
Deploying Dijkstra's Algorithm in a Fat Tree Topology!
I am trying to deploy Dijkstra's Algorithm for finding the shortest path between switches in a balanced fat-tree topology. The problem is that I do not know what values/unit of weight should be in ...
5
votes
1
answer
2k
views
Switch FIB and router FIB
Forwarding Information Base (FIB) also called Forwarding Table or Mac Table according to wikipedia.
I first explain my understanding of the FIB in both Switch and Router. Does not hesitate to correct ...
1
vote
1
answer
458
views
Why is Next-hop address the same with Interface address in forwarding table?
I read about TCP/IP Illustrated, Volume 1: The Protocols (2nd Edition) 5.4.3.1 Direct Delivery, this chapter illustrate the direct delivery like below:
But what confuse me is the forwarding table of S:...
1
vote
2
answers
3k
views
Forwarding tables in hosts [closed]
I'm an engineering student studying networking from Kurose's A Top Down Approach. I got stuck on an exercise from chapter 5 (link layer) and wanted to fill in the gaps in my knowledge.
The exercise ...
3
votes
3
answers
2k
views
Forwarding to multiple output ports using SDN
Using switches that support OpenFlow, is it possible to forward packets for specific flows to multiple outgoing ports, so that each port receives a copy of the packet (similar to multicasting scenario,...
1
vote
1
answer
875
views
Flat vs Hierarchical FIB
I've been reading about FIB and tried to understand the design,
I read that FIB and RIB have one-to-one correlation.
1.What does it mean they have one-to-one correlation?
2.In my understanding - ...
1
vote
2
answers
534
views
Ping issue: connect a switch into another switch's vlan port
I have a Cisco 2960-X switch and a Cisco SG-300 switch. I created VLANs on 2960-X switch (e.g. VLAN 10 with ports 1-5 and VLAN 20 with ports 6-10) and allow DHCP for each VLAN.
Now, laptop 10.10.1.2 ...
0
votes
1
answer
2k
views
Port forwarding and dynamic IP address [closed]
I have a basic confusion about how port forwarding works with DHCP assigned IP addresses.
If I set up port forwarding on a raspberry pi using its internal IP address and then set up dyndns so that ...
1
vote
1
answer
112
views
Which sources of information are used to forward packets?
I am trying to better understand how routing works in practice.
Which sources of information (can) go into the forwarding decision that a router makes? I have learned that BGP Updates from ...
1
vote
2
answers
857
views
Determining next hop adress in packet forwarding by forwarding table (IPv4)
Say that we have a router with the follwing forwarding table
--------------------------------------------------
| Destination | Next hop | Flags |
-------------------------------------...
2
votes
1
answer
158
views
The meaning of routing table lookup at a line rate
When it is said: Routing table lookup in a line rate, why is line rate important when the router still needs to perform a linear search in the size of routing table? Is there a relationship between ...
2
votes
2
answers
481
views
Does a router that connects to multiple networks, has a network card and forwarding table for each connection?
Say we have a router that connects to other routers and they connect to lan networks, does that router have a network card for each router it connects with but a single forwarding table for all? or ...
1
vote
1
answer
68
views
Switch: Misbehaving Client
Consider a switch with an empty forwarding table. Connected clients are
* A (Port 1)
* B (Port 2)
* C (Port 3)
A wants to send a package P to C. When the switch receives this package, the switch ...
2
votes
4
answers
584
views
Is Longest Prefix Matching(LPM) Done in Data or Control Plane?
I have a strong confusion on this whether LPM is done in Data or Control Plane.
My thoughts on this is as follows if its in data plane, we will have to do it for every packet hence we will have a ...
2
votes
2
answers
3k
views
Cisco 2851 Static NAT - Similar Static Entry Already Exists
I have a Cisco 2851 with NAT configured as so:
ip nat inside source list 111 interface GigabitEthernet0/1 overload
ip nat inside source static 192.168.16.16 64.xxx.xxx.233
ip nat inside source static ...
1
vote
1
answer
126
views
Which fields in the IPv6 header are checked during an IP lookup?
I'll consider IPv6 headers for this question.
I assume that the simplest IP lookup scheme implementation would just look at the 'Destination Address' field in the IP header of an incoming IP packet.
...
3
votes
2
answers
2k
views
OSPF, BGP & Forwarding tables
I'm little bit confusing about the flow of things that happen during a voyage of packet in the internet.
my basic question is : What is the connection between OSPF and forwarding tables?
Suppose ...
1
vote
3
answers
1k
views
STP, Distance vectors, LS and ECMP confusing
I currently taking a computer networking course and there are some terms that really confusing me and i can't find the "connection" between them.
Suppose I have a network with hosts and routers, ...
1
vote
0
answers
571
views
vMX L3 MPLS VPN routes not in forwarding table
I'm new to juniper technology and I'm trying to set up mpls vpn on vMX.
Not sure if I'm missing something in configuration or if this is some kind of bug in vMX or if this is not supported on vMX.
As ...
1
vote
1
answer
1k
views
Basic example of forwarding tables
This is my network. The forwarding tables I provide them bellow. I am able to establish the connection between Office1 and R1 but I am not able to connect with R2, as for a reason I do not know, all ...
3
votes
1
answer
1k
views
Routing and Forwarding Decisions
We need to build a routing table, based on routes from neighbors..
Route A receives three routes from different Routing Process:
EIGRP - 192.168.100.0/26
OSPF - 192.168.100.0/19
RIP - 192.168.100....
0
votes
2
answers
740
views
Ip forwarding & routing table advanced example! [closed]
I'm have a big question regarding IP forwarding. The current situation is like this:
I want to send a packet from the client to the server, between them I have two routers, Router1 and Router 2. ...
1
vote
1
answer
76
views
Pair two communicating processes separated by two firewalls
Suppose you have 4 processes inside one network (no firewalls) and you see (hostnames A,B,C,D):
From A:1 -> C:3
From B:2 -> D:4
Therefore you know A is communicating with C and B with D.
Now ...
1
vote
1
answer
12k
views
Why cant i NAT to a local network address on my UBNT edgerouter
I am trying to set up a very simple network.
I have an Ubiquiti Edgerouter on 192.168.1.1 with eth0 as WAN port.
I also have an Ubiquiti Rocket m5 on 192.168.1.2, both the router and the Rocket have ...
1
vote
1
answer
5k
views
Configure DNS Table on Sonic Wall TZ205
I just installed a TZ-205 on our company network and I can not seem to find where I would add to a DNS table. On our Linksys LRT224 there is a option to add a domain name and an associated IP. Does ...
5
votes
2
answers
526
views
coexistance for the longest prefix match
For example, can 128.92.128.0/17 and 128.92.128.0/18 be contained in one forwarding table together? Or the first one must be changed to 128.92.192.0/18? Because the other half will go to the second ...