Hello, cooker.

  how to add VLAN support to network scripts?
  attached - sample for my router.

  one exception:
  string for enabling vlans
  "action "Add VLAN4: " /sbin/vconfig add eth0 4"
  need to move under "for i in $interfaces; do"
--
  if interface is vlan interface then
    cut vlan number from interface name
    action "Add VLAN 4: " /sbin/vconfig add eth0 4"
  fi
--

-- 
WBR, MaxiM                          mailto:[EMAIL PROTECTED]
CJSC Interdnestrcom
Tiraspol, Moldova
www.idknet.com, www.isp.idknet.com

Attachment: network
Description: Binary data

Reply via email to