ROUTING TABLES ( Version 1 )



destination

gateway

port

Group 1 , HOST (140.105.45.34 to 140.105.45.36):

default

140.105.45.1

eth0


Group 1 , ROUTER (eth0: 140.105.45.33 ; eth1: 140.105.45.1):

...



140.105.45.34


eth0

140.105.45.35


eth0

140.105.45.36


eth0

...



140.105.45.2


eth1

140.105.45.3


eth1

140.105.45.4


eth1

140.105.45.5


eth1

...



default

140.105.45.5

eth1


Group 2 , HOST (140.105.45.66 to 140.105.45.68):

default

140.105.45.2

eth0


Group 2 , ROUTER (eth0: 140.105.45.65 ; eth1: 140.105.45.2):

...



140.105.45.66


eth0

140.105.45.67


eth0

140.105.45.68


eth0

...



140.105.45.1


eth1

140.105.45.3


eth1

140.105.45.4


eth1

140.105.45.5


eth1

...



default

140.105.45.5

eth1


Group 3 , HOST (140.105.45.98 to 140.105.45.100):

default

140.105.45.3

eth0


Group 3 , ROUTER (eth0: 140.105.45.97 ; eth1: 140.105.45.3):

...



140.105.45.98


eth0

140.105.45.99


eth0

140.105.45.100


eth0

...



140.105.45.1


eth1

140.105.45.2


eth1

140.105.45.4


eth1

140.105.45.5


eth1

...



default

140.105.45.5

eth1


Group 4 , HOST (140.105.45.130 to 140.105.45.132):

default

140.105.45.4

eth0


Group 4 , ROUTER (eth0: 140.105.45.129 ; eth1: 140.105.45.4):

...



140.105.45.130


eth0

140.105.45.131


eth0

140.105.45.132


eth0

...



140.105.45.1


eth1

140.105.45.2


eth1

140.105.45.3


eth1

140.105.45.5


eth1

...



default

140.105.45.5

eth1


ROOM MAIN ROUTER (eth0: 140.105.17.232 ; eth1: 140.105.45.5):

...



140.105.17.1


eth0

140.105.17.3


eth0

140.105.17.4


eth0

etc. etc. ...



...



140.105.45.1


eth1

140.105.45.2


eth1

140.105.45.3


eth1

140.105.45.4


eth1

...



default

140.105.17.1

eth0



  • Those routing tables are simplified versions with only HOST-TO-HOST routes.
  • This implementation is not suitable for pratical uses: it's not efficient at all, adding more hosts or subnets is difficult.
  • Two hosts in the same group should pass through the group router to communicate.
  • Two hosts in different groups should pass through the room main router to communicate.
  • The solution --} routing to SUBNETS.



MAIN

help me

abdus salam ICTP