Sunday 10 June 2012

Default gateway in Bridging and Routing Answers


Consider below two scenarios:


1) Bridged network

                          193.192.192.1                        193.192.192.2                                                 193.192.192.3
                     PC1----------Switch------------------------DUT(acting as Bridge)------------------------------Router-----------Internet
                                         |
               PC2 ----------- --|




To reach Internet what gateway IP address should be set in PC1 and PC2 ?

Answer : The gateway will be 193.192.192.3

2) Routed network

                                      193.192.192.1               193.192.192.2                            193.192.192.3
                     
               PC1----------Router------------------------DUT(acting as Bridge)----------------------------------------Router-----------Internet
                                     |
               PC2 -----------|





To reach Internet what gateway IP address should be set in PC1 and PC2 ?

Answer : The gateway will be first router ip address 192.192.192.1