I was wondering if it was possible to do something like:

VLANS="br1.1 br1.3 br1.4"
 
BRIDGE0="eth0 eth1"
BRIDGE1="eth2 eth3"
 
EXTIF=br0
EXTIP=66.232.79.143
EXTNM=255.255.255.0

INTIF=br1.1
INTIP=192.168.1.1
INTNM=255.255.255.0 

INT2IF=br1.3
INT2IP=192.168.3.1
INT2NM=255.255.255.0
...


but this results in:


ztdummy: RTC rate is 1024
802.1Q VLAN Support v1.8 Ben Greear <[EMAIL PROTECTED]>
All bugs added by David S. Miller <[EMAIL PROTECTED]>
ifconfig: SIOCGIFFLAGS: No such device
vconfig: ioctl error for add: Invalid argument
ifconfig: SIOCGIFFLAGS: No such device
vconfig: ioctl error for add: Invalid argument
ifconfig: SIOCGIFFLAGS: No such device
vconfig: ioctl error for add: Invalid argument
Bridge firewalling registered
eth0: link down
device eth0 entered promiscuous mode
eth1: link down
device eth1 entered promiscuous mode
eth2: link down
device eth2 entered promiscuous mode
eth3: link up, 100Mbps, full-duplex, lpa 0x45E1
device eth3 entered promiscuous mode
Bringing up br1.1 as 192.168.1.30
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCSIFADDR: No such device
Sleeping for 3 seconds before I bring up br0...
...



pbx ~ # cat /proc/net/vlan/config
VLAN Dev name    | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
pbx ~ # ifconfig -a
br0       Link encap:Ethernet  HWaddr 00:00:24:C9:28:A4  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:15930 (15.5 KiB)

br1       Link encap:Ethernet  HWaddr 00:00:24:C9:28:A6  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:00:24:C9:28:A4  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:11 Base address:0xe100 

eth1      Link encap:Ethernet  HWaddr 00:00:24:C9:28:A5  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:5 Base address:0xe200 

eth2      Link encap:Ethernet  HWaddr 00:00:24:C9:28:A6  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:9 Base address:0xe300 

eth3      Link encap:Ethernet  HWaddr 00:00:24:C9:28:A7  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1327 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:112027 (109.4 KiB)  TX bytes:0 (0.0 B)
          Interrupt:12 Base address:0xe400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

pbx ~ # 

what am I missing?




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to