LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1132|回复: 7

DNS 网关,IP 怎么添呀?

[复制链接]
发表于 2004-1-16 22:34:34 | 显示全部楼层 |阅读模式
刚刚装完5.2
以前写在本子上的,后来找不到了

QT中是装不上 ,打开MOZIILA  N慢~~
鼠标像幻灯片一样,但是在3的安全模式下就不像这样了
请兄弟们帮忙:help
发表于 2004-1-17 08:43:24 | 显示全部楼层
ifconfig,

emacs /etc/rc.conf
 楼主| 发表于 2004-1-17 14:00:22 | 显示全部楼层
具体怎么添呀?
比如网关255.255.255.0
发表于 2004-1-17 14:48:39 | 显示全部楼层
我不想说什么,回去现学习网络基础!
发表于 2004-1-17 15:56:37 | 显示全部楼层
ifconfig

  1. add     Another name for the alias parameter.  Introduced for compatibil-
  2.              ity with BSD/OS.
  3. broadcast
  4.              (Inet only.)  Specify the address to use to represent broadcasts
  5.              to the network.  The default broadcast address is the address
  6.              with a host part of all 1's.
  7. netmask YOUMASK
  8.              (Inet only.)  Specify how much of the address to reserve for sub-
  9.              dividing networks into sub-networks.  The mask includes the net-
  10.              work part of the local address and the subnet part, which is
  11.              taken from the host field of the address.        The mask can be speci-
  12.              fied as a single hexadecimal number with a leading `0x', with a
  13.              dot-notation Internet address, or with a pseudo-network name
  14.              listed in the network table networks(5).  The mask contains 1's
  15.              for the bit positions in the 32-bit address which are to be used
  16.              for the network and subnet parts, and 0's for the host part.  The
  17.              mask should contain at least the standard network portion, and
  18.              the subnet field should be contiguous with the network portion.

  19.              The netmask can also be specified in CIDR notation after the
  20.              address.  See the address option above for more information.
复制代码


对这些不熟练,只能列出man了。
发表于 2004-1-21 21:30:57 | 显示全部楼层
ifconfig eth*  DNS地址 netmask  子网掩码IP up IP地址
route add default gw 网关IP  up eth*
发表于 2004-1-21 22:01:27 | 显示全部楼层
ifconfig rl0 IP地址 netmask 子网掩码
route add default 网关

ee /etc/resolv.conf
nameserver dns服务器
发表于 2004-1-23 16:37:04 | 显示全部楼层
对命令不熟悉,可以用/stand/sysinstall配置
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表