[LEDE-DEV] Blackhole routes and other tidbits on the network configuration wiki page

Philip Prindeville philipp_subx at redfish-solutions.com
Sat Dec 31 14:33:48 PST 2016


I was going over the “Network configuration” page on the wiki and it’s a little thin on routes.  In particular, it implies that for a route you always need interface/target/netmask/gateway… but in the case of type=blackhole, a gateway doesn’t really seem applicable.

So would you have:

config route
	option interface ‘lan’
	option target ‘192.168.1.99’
	option netmask ‘255.255.255.255’
	option type ‘blackhole'


instead?  For that matter, do you really even need the “interface” part?

Who owns that wiki page?  I was trying to figure that out using the wiki itself but couldn’t figure out how.

-Philip

P.S. One unrelated subject… how would you configure a “dummy” interface that would never be used to send or receive traffic (obviously) but that you want to assign an address to, so that you can source ICMP packets from it or have an application bind to it’s address so that the packets come from that address (instead of the address of an actual interface)…




More information about the Lede-dev mailing list