D
D
dobromin2017-08-29 12:30:05
Debian
dobromin, 2017-08-29 12:30:05

How to add a route in debian?

[email protected]:/# route add -net 10.1.100.0/24 via 10.1.123.1 dev eth0
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [ [dev] If]
inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
[netmask N] [mss Mss] [window W] [irtt I]
[mod] [dyn] [reinstate] [[dev] If]
inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
inet_route [-FC] flush NOT supported

What does he not like? always did this before
still did this
route add -net 10.1.100.0 netmask 255.255.252.0 gw 10.1.123.1 dev eth0

everything was working before

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question