Archive

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

Advertisements
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 192.168.0.254

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

or

# route -n

Categories: Linux Tags: , , ,