Juve Posted April 16, 2014 Report Share Posted April 16, 2014 Witam! Ładuję moduł modprobe 8021q w /etc/sysconfig/network-scipts: eth0 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=192.168.5.1 NETMASK=255.255.0.0 IPV6INIT=no NAME="eth0" UUID=6ec73365-fb1a-4c95-8934-b256a3f7cbec HWADDR=00:0D:60:15:79:74 eth0.5 DEVICE=eth0.5 BOOTPROTO=none ONBOOT=yes IPADDR=10.10.0.1 NETMASK=255.255.128.0 TYPE=Ethernet USERCTL=no VLAN=yes I po wydaniu ifup eth0.5 eth0 Link encap:Ethernet HWaddr 00:0D:60:15:79:74 inet addr:10.10.0.1 Bcast:10.10.127.255 Mask:255.255.128.0 inet6 addr: fe80::20d:60ff:fe15:7974/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:76267 errors:0 dropped:0 overruns:0 frame:0 TX packets:71773 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7373452 (7.0 MiB) TX bytes:52407789 (49.9 MiB) Interrupt:16 Pomożecie? Link to comment Share on other sites More sharing options...
Miszcz Posted April 16, 2014 Report Share Posted April 16, 2014 Sprawdziłem na szybko u siebie twoją konfigurację i ustawia interfejsy poprawnie. Masz może włączonego NM? Sprawdź może co ciekawego mówi dmesg. Po reboot ustawia się tak samo? Link to comment Share on other sites More sharing options...
Juve Posted April 16, 2014 Author Report Share Posted April 16, 2014 Tak, mam włączonego Network Managera.Po reboocie (jest to komputer z dwoma kartami fizycznymi eth0 i eth1) na obu kartach mam IP 10.10.0.1 Link to comment Share on other sites More sharing options...
Miszcz Posted April 16, 2014 Report Share Posted April 16, 2014 To w takim razie wyłącz NM i zobacz czy pójdzie. Link to comment Share on other sites More sharing options...
Juve Posted April 17, 2014 Author Report Share Posted April 17, 2014 Więc tak: Wyłączyłem nm, vlan wstał, ale po reboocie nie wstają mi interfejsy - przy wyłączonym nm oczywiście Link to comment Share on other sites More sharing options...
legus Posted April 17, 2014 Report Share Posted April 17, 2014 Witam, Wybacz, ale albo Twoja karta eth0 ma pracować z trybie access albo trunk. W Twoim przypadku konfiiguracja się wyklucza. Powinna mieć postać : DEVICE=eth0TYPE=EthernetONBOOT=yesBOOTPROTO=noneHWADDR=00:0D:60:15:79:74 DEVICE=eth0.5BOOTPROTO=noneONBOOT=yesIPADDR=10.10.0.1NETMASK=255.255.128.0VLAN=yes Polecam tez stronę : http://www.cyberciti.biz/tips/howto-configure-linux-virtual-local-area-network-vlan.html Pozdrawiam Adam Link to comment Share on other sites More sharing options...
Miszcz Posted April 17, 2014 Report Share Posted April 17, 2014 Daj w eth0 NM_CONTROLLED=no i zobacz teraz wstaną. Link to comment Share on other sites More sharing options...
Juve Posted April 17, 2014 Author Report Share Posted April 17, 2014 Więc tak: sprawa trywialna, bo nie miałem włączonego service 'network' ani (przez przeoczenie) nm. Mam pytanie: czy usługa nm to jest usługa network w okienkach? Czy jest to może coś więcej? Z opisu na stronie wynika, że nm jest po prostu nakładką ułatwiającą łączenie się z sieciami. Chodzi mi o to, co ustawić na autostarcie? Link to comment Share on other sites More sharing options...
@WalDo Posted April 17, 2014 Report Share Posted April 17, 2014 Mam pytanie: czy usługa nm to jest usługa network w okienkach? Czy jest to może coś więcej? http://askubuntu.com/questions/1786/what-is-the-difference-between-network-manager-and-ifconfig-ifup-etc oczywiście weź pod uwagę różnice między Ubuntu a Fedorą (struktura i nazwy katalogów), ale zasada jest ta sama. Link to comment Share on other sites More sharing options...
Miszcz Posted April 17, 2014 Report Share Posted April 17, 2014 Więc tak: sprawa trywialna, bo nie miałem włączonego service 'network' ani (przez przeoczenie) nm. Mam pytanie: czy usługa nm to jest usługa network w okienkach? Czy jest to może coś więcej? Z opisu na stronie wynika, że nm jest po prostu nakładką ułatwiającą łączenie się z sieciami. Chodzi mi o to, co ustawić na autostarcie? Z poziomu konsoli możesz zarządzać NM używając polecenia nmcli, tu masz parę przykładów co i jak: http://fedoraproject.org/wiki/Networking/CLI. Weź pod uwagę, że raczej albo używasz NM albo usługi network, choć współistnienie jest możliwe. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now