Difference between gateway and interface

Solved
DirtyStriker Posted messages 11 Status Membre -  
 Abir -
Hello,
I don't quite understand the difference between a gateway and an interface, because sometimes in a routing table they have different IPs.
Thank you for clarifying this issue for me.
Configuration: Windows Vista Internet Explorer 7.0

2 réponses

arth Posted messages 84 Registration date   Status Contributeur Last intervention   1 293
 
The gateway is the physical element, the router, what we call the interface actually corresponds to one of the ports/entry points of the gateway.
--

The wolf, solitary and mysterious.
8
DirtyStriker Posted messages 11 Status Membre
 
So to summarize, the gateway (the router) has only one address while it can have multiple addresses as an interface depending on which network it is connected to. Is that correct?
0
Abir
 
Thank you :) I have the same question as Dirty, but I still don't understand the difference between an interface and a gateway :s

In what case do the interface and the gateway have different IP addresses?? Thank you :)
0
arth Posted messages 84 Registration date   Status Contributeur Last intervention   1 293
 
No, actually it has more than one, depending on the network it is connected to.

For example, if it is connected to the networks 10.0.0.x and 192.168.0.x, and interface1 is 10.0.0.1 and interface2 is 192.168.0.1, then it will not be contacted from both sides using the same address.
--

The wolf, solitary and mysterious.
3
DirtyStriker Posted messages 11 Status Membre
 
Thank you, Arth, for the information; it sheds a little more light for me.
0