I won't go into detail on this because it is really too kludgy. A loopback interface can also be used to establish a Telnet session from the console port of the device to its auxiliary port when all other interfaces are down. Heaping workaround on workaround: configure port forwarding for Server 192.168.10.100 on EdgeRouter-X, making it reachable on the address 192.168.1.135. You can also configure the loopback address as the Router ID for routing protocols like OSPF and BGP. Its local IP address reports that it cannot reach the target address. (The so-called extra hop.) The ISP modem/router will typically try to tell the host to send future traffic directly to EdgeRouter-X by way of an ICMP Redirect message, which the host will typically ignore because ICMP Redirect is considered a security risk. 192.168.1.199 is probably the IP address of the device youre performing the 'ping' from. This means that all traffic from hosts in 192.168.1.0/24 goes to the ISP modem/router which then forwards it to EdgeRouter-X even though the host could have sent it there directly. Since the network 192.168.1.0/24 is not a single exit network this implies configuring a static route for network 192.168.10.0/24 via 192.168.1.135 on all the hosts in network 192.168.1.0/24, including the ISP modem/router, except of course EdgeRouter-X itself which has a connected route for that network.Įxtra hop routing: again, get rid of NAT on EdgeRouter-X, but configure the static route for network 192.168.10.0/24 via 192.168.1.135 only on the ISP modem/router. The classical solution: get rid of NAT on EdgeRouter-X and configure proper routing. Yes, they should be able to ping each other, in both directions: the reason is that the network of PC-B is wholly contained inside the network of PC-A, and PC-A is located in that portion of its network which also belongs to the network of PC-B. So addresses in the range 192.168.10.0/24 are invisible beyond that router. The subnet is in the 16.2.0 subnet the broadcast address is 16.3.255.The fact that devices on network 192.168.10.0/24 can (without configuring a static route on those devices) ping devices on network 192.168.1.0/24 implies that router EdgeRouter-X is actually not acting simply as a router but doing Source NAT, translating the address range 192.168.10.0/24 to its uplink address 192.168.1.135. The host is in the 8 subnet, broadcast is 15. This is a block size of 8 in the fourth octet. This is 5 bits of subnetting, which provides 32 subnets. The host is in the 0 subnet, broadcast of 127. The host is in the 16 subnet, broadcast of 23. You really really really need to go and study / read up on networking fundamentals rather than posting this here. will borrow the loopback 5 IP address to use it on the GigabitEthernet0/0 interface as a next hop for the neighbor. interface GigabitEthernet0/0 ip unnumbered loopback 5. Now both the PC can ping there routers, I can ping router 2 from PC 1 using ping 10.100.98.25 -s 10.100.98.87. On a point-to-point link, you dont always need an IP address on the routers interface but you must inform the router of this fact, using the ip unnumbered command. The host is in the 64 subnet, and the broadcast range is 65-94. Router 2 IP : 10.100.98.87 PC 2 IP : 192.168.0.101. Loopback interfaces are virtual interfaces that are considered directly connected interfaces. Count by 32s until you pass the host address of 66. I know this is an older post but, I was working on a lab using VRF in that specific instance, you can have the same IP address on two separate interfaces within the same router. The host is in the 32 subnet, with a broadcast address of 47. You may have to restart your computer for this loopback interface to show up in GNS3. Assign an IP address and subnet mask to the loopback interface. The valid subnet is 192.168.100.24, broadcast is 192.168.100.27, and valid hosts are 192.168.100.25 and 26. Right-click the Loopback connection, select properties, select Internet Protocol Version 4, click properties and enter an IP address, subnet mask.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |