ip rule add/list

Jan Kasprzak kas na informatics.muni.cz
Pondělí Listopad 22 17:22:36 CET 1999


	Zdravim,

	zkusil jsem nasledujici:

# ip rule add pref 1000 from 1.2.3.0/24 dev eth0 blackhole
# ip rule list
0:	from all lookup local 
1000:	from 1.2.3.0/0 iif eth0 lookup main blackhole
32766:	from all lookup main 
32767:	from all lookup 253 
#

	Proc ip rule list vypisuje chybnou masku site (delku prefixu)?

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
/// I'd much prefer a sane architecture that doesn't continually try to  \\\
//  reinvent the bad idea of memory windows.   -Linus on Xeon 36-bit MM   \\


Další informace o konferenci Linux