diff options
-rw-r--r-- | sysconfig.txt | 1 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysconfig.txt b/sysconfig.txt index cb603f22..369baf0c 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -308,6 +308,7 @@ Files in /etc/sysconfig/network-scripts/ ONBOOT=yes|no USERCTL=yes|no BOOTPROTO=none|bootp|dhcp + MTU= PEERDNS=yes|no modify /etc/resolv.conf if peer uses msdns extension (PPP only) or DNS{1,2} are set, default to "yes". diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 0089642c..d55762ba 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -110,8 +110,8 @@ else if [ -z "$NETWORK" ]; then eval `/bin/ipcalc --network ${IPADDR} ${NETMASK}` fi - - ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} ${ARP:+arp} + + ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} ${ARP:+arp} ${MTU:+mtu $MTU} # don't re-add subnet route on 2.2 kernels, but add a route # to a non-local subnet. # stupid hack, but it should work |