Web lists-archives.com

Re: hostname of the modem gateway

On Tue, Jan 02, 2018 at 12:12:47AM +0100, Max Power wrote:

> with the new release of Debian 'Stretch', the route command has been replaced
> but what other command returns the hostname of the modem/router gateway...?
> # route
> gateway = home.telecomitalia.it
> # ip route
> gateway =

As has already been mentioned, 'ip -r route' (or 'ip -r r', for short)
will work. However if you want to use the 'route' command, or 'netstat
-r' which is equivalent, it is still available in the 'net-tools'


Any sufficiently advanced technology is indistinguishable from a rigged demo.
		-- Andy Finkel, computer guy

Attachment: signature.asc
Description: Digital signature