Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19573
  • 博文数量: 7
  • 博客积分: 185
  • 博客等级: 入伍新兵
  • 技术积分: 65
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-02 13:01
文章分类
文章存档

2012年(7)

我的朋友

分类: 网络与安全

2012-10-20 08:07:38

 If you want that the devices eth0, eth1, to be named in the way you get used to them in Red Hat, look in the directory /etc/udev/rules.d/.ere you will nd a le with a name similar to 70-persistent-net.rules .In this le, the network devices are listed, with their PCI identiers in a comment above each one, and with the MAC (hardware) address. By editing the associated NAME variable, you can force the kernel to give the device a different name at the next reboot.All network interfaces are activated with the script /sbin/ifup.
COMMAND:To halt the interface, use ifdown. To check its status, useifconfig  or ifstatus.
SuSE stores the configuration of all network interfaces in way too many files, but mostly in /etc/sysconfig/networkdirectory
subdirectory /etc/syconfig/hardware/*  contains a separate file for every device (network card). These files contain the configuration parameters (kernel module, start mode, script associations, etc.).
 The /etc/sysconfig/network directory contain a half-dozen of files 
The first important files are ifcfg-eth*  files. Each of them corresponds to an installed Ethernet interface.They have suffixes equal to MAC addresses, a feature unique to Suse and not found in other distributions like Red Hat.

All the SUSE system scripts use the ip command for network conguration.
Most modern version of Suse (10 SP3 and 11) (with kernel > 2.6.17) support frames larger than 1500 bytes. Jumbo frames are really only useful for reducing CPU load .
 A properly setup gigabit host should see file transfer rates within a small percentage of a jumbo frames enabled host
Jumbo frames are also great for high bandwidth, high latency connections (WAN links) but for LAN needs just go gigabit with quality managed switches .

If you are young, smart, adventitious and rich you can try nonstandadrd frma size.
You need to  have a gigabit or 10 gigabit NIC with sophisticated driver.

MTU='9000'

Close and save the file. Restart the Interface eth0:

# /etc/init.d/networking restart

To confirm the MTU used between two specific devices. use ip command as follows:

# ip route get {IP-address}

You can also specify this parameter in ifconfig  command:

ifconfig eth0 mtu 9000

This setting is not saved across re.boots

阅读(1018) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~