[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: 3.6release to 3.7current vlan mtu



BAH, my bad. PF.conf was in the way. Nevermind folks. Sorry for
spamming the system.

On 5/13/05, Whyzzi <whyzzi_(_at_)_gmail_(_dot_)_com> wrote:
> My mistake, I certainly know what the first syllable of assume means don't I?
>
> BOX1
> -------------------------------------
> # ifconfig fxp0
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        address: 00:02:b3:bc:17:01
>        media: Ethernet autoselect (100baseTX full-duplex)
>        status: active
>        inet6 fe80::202:b3ff:febc:1701%fxp0 prefixlen 64 scopeid 0x1
>        inet 10.117.254.1 netmask 0xfffffff8 broadcast 10.117.254.7
> # ifconfig vlan2 192.168.254.1 netmask 255.255.255.248 vlan 2 vlandev fxp0
> # ifconfig vlan2
> vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        address: 00:02:b3:bc:17:01
>        vlan: 2 parent interface: fxp0
>        inet6 fe80::202:b3ff:febc:1701%vlan2 prefixlen 64 scopeid 0x1b
>        inet 192.168.254.1 netmask 0xfffffff8 broadcast 192.168.254.7
> # dmesg
> OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
>    deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Athlon(tm) processor ("AuthenticAMD" 686-class) 1.40 GHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS
> R
> real mem  = 267952128 (261672K)
> avail mem = 237481984 (231916K)
> using 3296 buffers containing 13500416 bytes (13184K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(f1) BIOS, date 07/11/02, BIOS32 rev. 0 @ 0xfb4b0
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf94
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdee0/176 (9 entries)
> pcibios0: PCI Exclusive IRQs: 5 10 11 12
> pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0x10000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "SIS 300/305/630 VGA" rev 0x90: aperture at 0xe000
> 0000, size 0x400000
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
> pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0
> configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: <Maxtor 91366U4>
> wd0: 16-sector PIO, LBA, 13029MB, 26684784 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8520B, 1.00> SCSI0 5/cdrom r
> emovable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x16: irq 5
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x16: irq 5
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
> fxp0 at pci0 dev 9 function 0 "Intel 82557" rev 0x0c: irq 10, address 00:02:b3:b
> c:17:01
> inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
> skc0 at pci0 dev 13 function 0 "Linksys EG1032" rev 0x12: irq 11
> skc0: SK-9521 10/100/1000Base-T Adapter
> sk0 at skc0 port A: address 00:0c:41:eb:c3:2b
> eephy0 at sk0 phy 0: Marvell 88E1000* Gigabit PHY
> skc1 at pci0 dev 15 function 0 "Linksys EG1032" rev 0x12: irq 11
> skc1: SK-9521 10/100/1000Base-T Adapter
> sk1 at skc1 port A: address 00:0c:41:eb:bc:7c
> eephy1 at sk1 phy 0: Marvell 88E1000* Gigabit PHY
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask f365 netmask ff65 ttymask ffe7
> pctr: user-level cycle counter enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: wd0 matched BIOS disk 80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> arpresolve: can't allocate llinfo
> arpresolve: can't allocate llinfo
> -------------------------------------
>
> BOX2
> -------------------------------------
> # ifconfig fxp0
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        lladdr 00:d0:b7:5a:d1:ec
>        media: Ethernet autoselect (100baseTX full-duplex)
>        status: active
>        inet6 fe80::2d0:b7ff:fe5a:d1ec%fxp0 prefixlen 64 scopeid 0x1
>        inet 10.117.254.2 netmask 0xfffffff8 broadcast 10.117.254.7
> # ifconfig vlan2 create
> # ifconfig vlan2 192.168.254.2 netmask 255.255.255.248 vlan 2 vlandev fxp0
> # ifconfig vlan2
> vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
>        lladdr 00:d0:b7:5a:d1:ec
>        vlan: 2 parent interface: fxp0
>        inet6 fe80::2d0:b7ff:fe5a:d1ec%vlan2 prefixlen 64 scopeid 0x9
>        inet 192.168.254.2 netmask 0xfffffff8 broadcast 192.168.254.7
> # ping 192.168.254.1
> PING 192.168.254.1 (192.168.254.1): 56 data bytes
> ping: sendto: No route to host
> ping: wrote 192.168.254.1 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 192.168.254.1 64 chars, ret=-1
> --- 192.168.254.1 ping statistics ---
> 2 packets transmitted, 0 packets received, 100.0% packet loss
> # dmesg
> OpenBSD 3.7-current (GENERIC) #110: Mon May  2 20:07:58 MDT 2005
>    deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 864 MHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
> real mem  = 333946880 (326120K)
> avail mem = 297398272 (290428K)
> using 4102 buffers containing 16801792 bytes (16408K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(19) BIOS, date 08/25/00, BIOS32 rev. 0 @ 0xe7300
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> pcibios0 at bios0: rev 2.1 @ 0xe7300/0x8d00
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf6260/208 (11 entries)
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0xa000 0xca000/0x1000 0xcb000/0x1000 0xe0000/0x10000!
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82815 Hub" rev 0x02: rng active, 8Kb/sec
> vga1 at pci0 dev 2 function 0 "Intel 82815 Graphics" rev 0x02:
> aperture at 0x44000000, size 0x4000000
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x01
> pci1 at ppb0 bus 1
> fxp0 at pci1 dev 4 function 0 "Intel 82557" rev 0x08, i82559: irq 5,
> address 00:d0:b7:5a:d1:ec
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> fxp1 at pci1 dev 8 function 0 "Intel 82562" rev 0x01: irq 10, address
> 00:02:a5:52:f9:13
> inphy1 at fxp1 phy 1: i82562EM 10/100 PHY, rev. 0
> fxp2 at pci1 dev 9 function 0 "Intel 82557" rev 0x08, i82559: irq 11,
> address 00:d0:b7:4f:a9:10
> inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x01
> pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <WDC AC24300L>
> wd0: 16-sector PIO, LBA, 4112MB, 8421840 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> atapiscsi0 at pciide0 channel 1 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CD-ROM LTN485, KQA4> SCSI0
> 5/cdrom removable
> cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
> uhci0 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x01: irq 10
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x01: irq 5, ICH2 AC97
> ac97: codec id 0x41445360 (Analog Devices AD1885)
> ac97: codec features headphone, Analog Devices Phat Stereo
> audio0 at auich0
> isa0 at ichpcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask f745 netmask ff65 ttymask ffe7
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: wd0 matched BIOS disk 80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> vlan2: initialized with non-standard mtu 1496 (parent fxp0)
> vlan2: initialized with non-standard mtu 1496 (parent fxp0)
> -------------------------------------
>
>
> On 5/13/05, Brad <brad_(_at_)_comstyle_(_dot_)_com> wrote:
> > On Fri, May 13, 2005 at 12:19:34PM -0600, Whyzzi wrote:
> > > having trouble getting a test vlan going, and I noticed 3.7current
> > > sets the mtu size of a vlan interface 1496 while 3.6 keeps the mtu of
> > > the vlandev @ 1500.
> > >
> > > I've been googling and archive searching for at least an hour and
> > > turned up nothing (but I've used bad search terms before) so any
> > > pointers/flames on how to use ifconfig to set the mtu size for vlan
> > > interface muchly appriciated!
> > >
> > > 3 Cheers for OpenBSD
> > >
> > > --
> > > I know too much and yet not enough
> >
> > It would be nice if your e-mail included any real information. You *MUST*
> > provide a dmesg and if you have more than one network card in the system
> > then let the users of the mailing list know which interface is being used.
> >
>
> --
> I know too much and yet not enough
>

--
I know too much and yet not enough


-- 
I know too much and yet not enough