Link to home
Start Free TrialLog in
Avatar of cranium2003
cranium2003

asked on

help in completing lab configuration

I have designed a LAB of 5 computers which are not connected to ant switch or hub.
in which i want two routers.

|HOST A |----|ROUTER 1|-----|HOST B |------|ROUTER 2|------|HOST C |  


HOST A
eth0: 10.0.1.192
HOST B
eth0: 192.168.1.19
HOST C
eth0: 10.10.1.192
ROUTER 1
eth0: 10.0.1.1
eth1: 192.168.1.1
ROUTER 2
eth0: 192.168.1.192
eth1: 10.10.1.1

WHERE all connections are using crossover wire.
what i want to ask is that can above designed configuration is correct?
can it be giving a simulation as i am sending a packet from host A to Host C
which is going through 2 routers in (consider) internet?
Also what should be Gateway addresses for each host for each NIC cards?
I am confusing what gateway address should be given to each host?

Avatar of blkline
blkline

for HOSTS A & C make the default gateway the IP address of the nearest router on the same network.
for ROUTERS 1 & 2 make the default gateway the IP address of HOST B.
Add routes to HOST B so that it will know which networks appear on the far side of each router.

Ensure that HOST C and the routers have:
echo 1 > /proc/sys/net/ipv4/ip_forward

That should do it.
Avatar of cranium2003

ASKER

hi blkline,
            Why HOST C require ip forwarding?
What i figure out is
HOST A default GW IP is 10.0.1.1 on eth0
ROUTER 1 default GW IP is 192.168.1.19 on eth0
Does HOST B require GW IP to its eth0? what it should be?
ROUTER 2 default GW IP is 192.168.1.19 on eth0
HOST C default GW IP is 10.10.1.1 on eth0

Is above right???
If you are going to just use crossover cables how are you going to plug HOST B into both routers?

Please help then how can i implement 3 hosts and 2 routers in my single LAB to have simulations of sending a packet from HOST A goes through 2 routers and the reach HOST C.
       I only want to have that simulation as it is required for my project testing. Project is related with routers so i need above lab design how to do that?
        can HOST B also require 2 NICS???
ASKER CERTIFIED SOLUTION
Avatar of jeiler
jeiler
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial