summaryrefslogtreecommitdiff
path: root/scripts/vyatta-interfaces.pl
AgeCommit message (Collapse)Author
2008-06-26removing code to update resolv.conf from here, it is better to call it from ↵Mohit Mehta
dhclient-script
2008-06-26=> Modified VyattaConfig.pm function 'returnOrigValues()' to return empty ↵Mohit Mehta
array when no value is configured => Modified VyattaConfigLoad.pm to give a higher ranking to 'system host-name' than 'interface' so that during boot-up if host is using dhcp client to get an ip for an interface, it can send the host-name if configured => Modified vyatta-interfaces.pl: 1. to request only for dhcp options 'subnet-nask', 'broadcast address', 'routers', 'domain-name-servers' when an interface is configured to get an ip using dhcp. 2. ask for a domain-name only if domain-name is not configured in our CLI 3. do not request dhcp options: 'time-offset', 'interface-mtu' and 'host-name' that were being requested before 4. Update /etc/resolv.conf to remove domain-name and name-server options received from dhcp server for the particular interface that releases dhcp lease either from op-mode or cfg-mode
2008-06-21better handling of allowed values for 'release/renew dhcp interface <>'Mohit Mehta
2008-06-21better handling of dhcp release/renew commandsMohit Mehta
2008-06-20Fix bug 3059 Operator Level commands for DHCP clientMohit Mehta
implemented op-mode commands for DHCP client: 'release dhcp interface <>' 'renew dhcp interface <>'
2008-06-19-> redo the way dhcp client works. instead of using one daemon for all ↵Mohit Mehta
interfaces, use separate daemons for separate interfaces. when one daemon was handling all interfaces, a release/renew at one interface would release/renew all other interfaces as well before we brought them back to the state specified in vyatta config -> Also, Fix bug 3346 replaced the die command with print followed by exit 1 -> modified vyatta-interfaces.pl to remove code for handling op-command: 'clear dhcp client process' this command restarted the dhcp client daemon but now that we have separate daemons for separate interfaces, this is not useful. Also, this will be replaced by op-commands for 'dhcp client release lease' and 'dhcp client renew lease' commands in hollywood beta
2008-06-04Add exception for /31 and /32 for ipv4 and /128 for ipv6Stig Thormodsrud
2008-06-03Fix 920: System allows configuration of invalid IP Address for subnetStig Thormodsrud
2008-05-14Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-cfg into hollywoodStephen Hemminger
2008-05-14Remove unused dependenciesStephen Hemminger
No longer need Tie or flock, these were used when dealing with watchlink
2008-05-09Fix vlan regex.Stig Thormodsrud
2008-05-06Only check for dhcp client on eth, vlan, and bridge.Stig Thormodsrud
2008-05-05Fix 3233 dhcp client doesn't work on bridge interfaceStig Thormodsrud
2008-04-24Eliminate vestigates of watchlinkStephen Hemminger
Watchlink is no longer used to manage link detection. This is now provided by kernel.
2008-04-23Remove hack to cycle state for static routesStephen Hemminger
This should no longer be needed Revert "cycle interface state on IP address assigment to fix static routes" This reverts commit b0dd3c96c5e30077a602082c829d4bccf7795252.
2008-04-19cycle interface state on IP address assigment to fix static routesRobert Bays
2008-04-03handle multiple address deletion when link is downStephen Hemminger
More robust fix for Bug 2802. Handle case of multiple addresses and lines in the linkstatus file. Add locking to try and prevent multiple update.
2008-04-02stop watchlink when address is removedStephen Hemminger
Kludge to work around address watchlink interaction: remove status file. This should fix bug 2802. There may still be problems when multiple addresses are assigned to an interface. The correct fix is to just get rid of the watchlink process and do the management in kernel or zebra.
2008-03-31handle delete address request if address is already removedStephen Hemminger
Quagga link-detect may have already removed address from interface. Check for missing address, and if not present just tell vtysh. This fixes bug 2802
2008-03-11more robust handling of set mac addressStephen Hemminger
Bugfix: 2826 Enforce restrictions on address (must be valid ethernet address), and only bring interface down/up if already up.
2008-03-10Merge branch 'glendale' of git:/git/vyatta-cfg into glendalerbalocca
2008-03-10Convert from VPL 1.0 to GPLv2Stephen Hemminger
Glendale release is licensed under GPL version 2.
2008-03-05Add VPL to scripts and fix lintian errorsrbalocca
2008-03-04Fix 2954: IPv6 addresses that have a-f in the address fail.Christopher Liljenstolpe
2008-02-19Add option to restart dhclient process.Stig Thormodsrud
Send hostname in dhcp client request.
2008-01-28fix 2718: Set failed after a duplicated address was set for an interfaceStig Thormodsrud
2008-01-24add script to /etc/dhcp3/dhclient-exit-hooks to store values received by ↵Stig Thormodsrud
dhclient
2008-01-10Fix 2617 "Invalid interface address accepted".Stig Thormodsrud
2007-12-18Add ability to set ipv6 address on loopback but not dhcp.Stig Thormodsrud
2007-11-27Fix 2497: check for duplicate ip address.Stig Thormodsrud
Also while we're add it, allow user to set an ipv6 address or get address from dhcp.