NETWORK LAYER
UNICAST ROUTING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which command can you enter to set the default route for all traffic to an interface?
|
router(config)#ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1
|
|
router(config)#ip route 0.0.0.0 255.255.255.255 GigabitEthernet0/1
|
|
router(config-router)#default-information originate
|
|
router(config-router)#default-information originate always
|
Explanation:
Detailed explanation-1: -How to view or display Linux routing table on Linux. Our default route is set via ra0 interface i.e. all network packets that cannot be sent according to the previous entries of the routing table are sent through the gateway defined in this entry i.e 192.168. 1.1 is our default gateway.
Detailed explanation-2: -Click Start, click Run, type cmd in the Open box, and then click OK. Type route print, and then press ENTER to view the routing table. Type the following command, and then press ENTER route add 0.0.0.0 mask 0.0.0.0 gateway IP metric 30 if Interface number. More items •01-Aug-2022
There is 1 question to complete.