computer/linux/networking
の編集
http://siti.dip.jp/wiki/index.php?computer/linux/networking
[
トップ
] [
編集
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
-- 雛形とするページ --
bikefriday
books
BracketName
chemical
computer
computer/equation
computer/gromacs
computer/linux
computer/linux/apache2
computer/linux/cluster
computer/linux/emacs
computer/linux/FreeNAS
computer/linux/iptables
computer/linux/networking
computer/linux/ProFTPD
computer/linux/pukiwiki
computer/linux/RaspberryPi
computer/linux/service
computer/linux/torque
computer/programing
computer/programing/Eclipse
computer/programing/Python
computer/programing/python
computer/programing/Python/matplotlib
computer/programing/regular expression
computer/programing/vba
computer/programing/vmd
computer/windows
computer/windows/command prompt
computer/windows/ffmpeg
computer/windows/ImageJ
computer/windows/Inkscape
computer/windows/service
computer/windows/VBA
computer/windows/WebExpression
english
english/mail
english/P.R. response
english/あ
english/か
english/さ
FormattingRules
FrontPage
gnuplot
Help
InterWiki
InterWikiName
InterWikiSandBox
memo
memo/201902
memo/201903
memo/201904
memo/201905
memo/201907
memo/201911
memo/ai
memo/descri
memo/document
memo/life
memo/message
memo/procedure
memo/record
memo/work
memo/引っ越し
MenuBar
microserver
Notebook
PHP
PukiWiki
PukiWiki/1.4
PukiWiki/1.4/Manual
PukiWiki/1.4/Manual/Plugin
PukiWiki/1.4/Manual/Plugin/A-D
PukiWiki/1.4/Manual/Plugin/E-G
PukiWiki/1.4/Manual/Plugin/H-K
PukiWiki/1.4/Manual/Plugin/L-N
PukiWiki/1.4/Manual/Plugin/O-R
PukiWiki/1.4/Manual/Plugin/S-U
PukiWiki/1.4/Manual/Plugin/V-Z
RecentDeleted
SandBox
ST
testable
WikiEngines
WikiName
WikiWikiWeb
work
YukiWiki
#contents ネットワークの設定 (Debian/Linux 系) 現在の設定状況の確認 $ sudo ifconfig -a DHCPによりIPをもらうと /etc/network/interfaces #highlighter(){{ # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback }} 固定 IP アドレスの設定(Debian/Linux 系) /etc/network/interfaces #highlighter(){{ auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.0.0 gateway 192.168.0.1 dns-nameservers 192.168.0.2 }} $ sudo /etc/init.d/networking stop $ sudo /etc/init.d/networking start で反映されるはずなのですが、 最近の Debian (6 だか 7 だか)の起動ファイルは少しおかしいので、 変更が反映されないことがある。 そういうわけで再起動するほうが無難です。 CentOS /etc/sysconfig/network-scripts/ifcfg-eth0 #highlighter(){{ DEVICE=eth0 HWADDR=00:25:90:9B:BA:6A BOOTPROTO=static #BROADCAST=172.29.10.100 IPADDR=10.34.83.52 IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NM_CONTROLLED=yes TYPE=Ethernet ONBOOT=yes GATEWAY=10.34.83.1 }} DNS /etc/resolv.conf #highlighter(){{ # Generated by NetworkManager # No nameservers found; try putting DNS servers into your # ifcfg files in /etc/sysconfig/network-scripts like so: # #DNS1=172.30.0.3 #DNS2=172.30.0.4 # DOMAIN=lab.foo.com bar.foo.com nameserver 130.34.40.53 nameserver 130.34.40.54 }} networkサービスをリスタート $ sudo service network restart
タイムスタンプを変更しない
#contents ネットワークの設定 (Debian/Linux 系) 現在の設定状況の確認 $ sudo ifconfig -a DHCPによりIPをもらうと /etc/network/interfaces #highlighter(){{ # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback }} 固定 IP アドレスの設定(Debian/Linux 系) /etc/network/interfaces #highlighter(){{ auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.0.0 gateway 192.168.0.1 dns-nameservers 192.168.0.2 }} $ sudo /etc/init.d/networking stop $ sudo /etc/init.d/networking start で反映されるはずなのですが、 最近の Debian (6 だか 7 だか)の起動ファイルは少しおかしいので、 変更が反映されないことがある。 そういうわけで再起動するほうが無難です。 CentOS /etc/sysconfig/network-scripts/ifcfg-eth0 #highlighter(){{ DEVICE=eth0 HWADDR=00:25:90:9B:BA:6A BOOTPROTO=static #BROADCAST=172.29.10.100 IPADDR=10.34.83.52 IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NM_CONTROLLED=yes TYPE=Ethernet ONBOOT=yes GATEWAY=10.34.83.1 }} DNS /etc/resolv.conf #highlighter(){{ # Generated by NetworkManager # No nameservers found; try putting DNS servers into your # ifcfg files in /etc/sysconfig/network-scripts like so: # #DNS1=172.30.0.3 #DNS2=172.30.0.4 # DOMAIN=lab.foo.com bar.foo.com nameserver 130.34.40.53 nameserver 130.34.40.54 }} networkサービスをリスタート $ sudo service network restart
テキスト整形のルールを表示する