Portál AbcLinuxu, 7. listopadu 2025 14:16
vypni@plx:~$ uname -a Linux plx 2.6.5 #18 SMP Wed Aug 25 10:57:20 CEST 2004 i686 unknown
/etc/network/interfaces predpokladam...
vypni@plx:~$ cat /etc/network/ifstate lo=lo eth0=eth0 eth1=eth1alebo sa mylim?
man nameif - pisu to sem asi popate...
nameif renames network interfaces based on mac addresses. When no argu-
ments are given /etc/mactab is read. Each line of it contains an
interface name and a Ethernet MAC address. Comments are allowed start-
ing with #. Otherwise the interfaces specified on the command line are
processed. nameif looks for the interface with the given MAC address
and renames it to the name given.
Ne, ten prikaz kabely opravdu neprohodi. Pokud tam bude mit dve karty, tak asi bude muset psat ten nazev rozhrani vzdycky, fakt nevim kde je jaky "problem".
alias eth0 sis900
alias eth1 jinýmodul
přehodíme:
alias eth1 sis900
alias eth0 jinýmodul
Potom budeme muset přepsát parametry sítovek v dalších konfiguračních souborech - přehodit eth0 < - > eth1 aby byly IP a parametry k té samé sítovce, nebo přehodit kabely na sítovkách
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.