Posts Tagged ‘route’

Cisco 2960 enable routing

November 14, 2014 Leave a comment

1) Enable SDM routing.

Switch(config)#sdm prefer lanbase-routing

2) Save config & reload.
3) Enable IP routing

Switch(config)#ip routing

Categories: Cisco, Switch Tags: ,

Add a default route for linux

June 5, 2010 Leave a comment

To add a default route to the gateway for linux:

# route add -net default gw

Categories: Linux Tags: , ,

Check gateway for linux

June 5, 2010 Leave a comment

ifconfig does not show the gateway of the interfaces.

To check your gateway for linux:

# netstat -rn


# route -n

Categories: Linux Tags: , , ,