Changes between Version 8 and Version 9 of TipAndDoc/network/alias


Ignore:
Timestamp:
Jun 8, 2009 2:03:58 AM (15 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/alias

    v8 v9  
    160160}}} 
    161161 
     162 === static時の問題 === 
     163 * /etc/network/interfaces 
     164{{{ 
     165auto eth0:0 
     166iface eth0:0 inet static 
     167        address 192.168.40.250 
     168        netmask 255.255.255.0 
     169        gateway 192.168.40.2 
     170}}} 
     171 * sudo ifup eth0:0 
     172{{{ 
     173SIOCSIFFLAGS: Cannot assign requested address 
     174}}} 
     175 * 実際には正常にassign 
     176   * ifconfig eth0:0 
     177{{{ 
     178eth0:0    Link encap:Ethernet  HWaddr 00:0c:29:YY:YY:YY 
     179          inet addr:192.168.40.250  Bcast:192.168.40.255  Mask:255.255.255.0 
     180          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
     181          Interrupt:17 Base address:0x2000 
     182}}} 
     183 
     184 * wireless-tools のバグ? 
     185   * [https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/123773 Bug #123773 in ifupdown (Ubuntu): “'SIOCSIFFLAGS: Cannot assign requested address' when setting up ip alias”] 
     186 * 対応 
     187   * sudo chmod -x /etc/network/if-pre-up.d/wireless-tools 
     188   * sudo aptitude -R remove wireless-tools (依存関係に問題があり非推奨?) 
     189{{{ 
     190The following packages are BROKEN: 
     191  ubuntu-minimal 
     192The following packages will be REMOVED: 
     193  wireless-tools 
     1940 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 
     195Need to get 0B of archives. After unpacking 352kB will be freed. 
     196The following packages have unmet dependencies: 
     197  ubuntu-minimal: Depends: wireless-tools but it is not installable 
     198Resolving dependencies... 
     199The following actions will resolve these dependencies: 
     200 
     201Remove the following packages: 
     202ubuntu-minimal 
     203 
     204Score is 115 
     205 
     206Accept this solution? [Y/n/q/?] 
     207}}} 
     208 
    162209 === dhcp時の問題 === 
    163210 * CentOSと同様、dhcp時に問題が起きる 
    164211   * dhclientのバグ? 
    165212   * [https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/351378 Bug #351378 in dhcp3 (Ubuntu): “dhclient fails for virtual interfaces (IP aliases)”] 
    166    * [https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/123773 Bug #123773 in ifupdown (Ubuntu): “'SIOCSIFFLAGS: Cannot assign requested address' when setting up ip alias”] 
    167213 * sudo /etc/init.d/networking restart 
    168214{{{