02-13-2004 02:19 AM - edited 03-02-2019 01:34 PM
I have 2 PC's connected to 2 individual Eathernet ports of the same router. 1st PC ip is 172.17.20.5/24 and 2nd pc ip is 172.17.20.8/24. How and what commands do we enter in router to make this two pc to communicate.
02-13-2004 03:14 AM
Is the sole purpose of this exercise to provide connectivity between the two PCs. If so, I think you'd be better off using a hub or a switch.
If you really want to connect these two stations using a router, you will probably need to change the ip address of one of the two and configure a default gateway pointing at the router.
The config on the router should be pretty straightforward:
in e0
ip address 172.17.20.1 255.255.255.0
int e1
ip address 172.17.21.1 255.255.255.0
Hope this helps,
02-13-2004 04:02 AM
Thanks for your reply... the solution what you had mentioned will work. But i was doing this in a LAB envirolment and i want the above setup to work. So, pls help me how to do this.
02-13-2004 04:11 AM
If you want this to work without changing the setup on the workstations, you can bridge between the two Ethernet ports:
int e0
bridge-group 1
int e1
bridge-group 1
That should do it.
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