It depends on your configuration. If you do the following configuration
on router A
ip route 10.0.3.0 255.255.255.0 serial0
and using HDLC as encapsulation on the serial line
then the routing table will look like this:
C 10.0.2.0/24 is directly connected, loopback0
S 10.0.3.0/24 is directly connected, Hssi0/0
If you use PPP as encapsulation on your serial lien the router A will
learn the IP address of the neighbor router as a host address. The
routing table will look like this:
C 10.0.2.0/24 is directly connected, loopback0
S 10.0.3.0/24 is directly connected, serial0/0
S 10.0.2.1/32 is directly connected, serial0/0
Evgeny Vainerman schrieb:
> Let's assume two devices are connected by p2p link via unnumbered
> interfaces:
>
> |=====| |=====|
> | | Ser0 | |
> | A 0-------------------0 B 0-----Network 10.0.3.0/24
> | | Ser0 | |
> |=====| |=====|
>
> Both interfaces are unnumbered and each one shares the IP address with
> the device's loopback.
>
> A's loppback is 10.0.1.1/24
> B's loopback is 10.0.2.1/24
>
> How does routing table od router A look like ?
>
> S 10.0.3.0 [1/1] via 10.0.2.1, Serial0 ?
>
> Would I see network 10.0.2.0/24 as a connected ?
>
> C 10.0.2.0/24 is directly connected, Serial0 ?
>
> Thanks, Evgeny.
|