ftp://shadow.cabi.net/pub/Linux/BRCFG.tgz
/etc/lilo.conf
, kai jana-trexontas to lilo
:
append = "ether=0,0,eth1"
An exete treis syskeyes sth gefyra balte to parakatw anti twn anw:
append = "ether=0,0,eth1 ether=0,0,eth2"
Perissoteres syskeyes mporoun na proste8oun me perissoteres dhlwseis ether. Enas etoimos pyrhnas caxnei gia mia karta kai molis th brei stamata to cajimo. Me thn parapanw entolh synexizei na caxnei kai meta thn prwth karta.
Anti twn anw, mporeite na xrhsimopoihsete thn parakatw parametro ekkinhshs:
linux ether=0,0,eth1
H me 3 syskeyes:
linux ether=0,0,eth1 ether=0,0,eth2
BRIDGING
energopoihmeno.
/etc/sysconfig/network-scripts/
(gia RedHat susthma) kai antigracte to ifcfg-lo0
se ifcfg-eth0
&
ifcfg-eth1
.
Sta duo ayta arxeia allajte th grammh poy periexei to ``DEVICE=lo
'' se ``DEVICE=eth0
'' kai ``DEVICE=eth1
''. Alles dianomes mporei na diaferoyn, kante o,ti xreiazetai! An exete panw apo duo syskeyes sth gefyra sigoyreyteite na dior8wsete oles tis ry8miseis.
ifconfig eth0 promisc ; ifconfig eth1 promisc
Oles oi kartes poy einai na synde8oun se gefyra prepei na mpoyn se promiscuous mode.
brcfg
:
brcfg -ena
tcpdump -i eth0 (in one window)
tcpdump -i eth1 (in another window)
tcpdump
se allo mhxanhma gia na deite oti h gefyra apokoptei ta tmhmata kanonika.