I have a Allied Telesyn AT-GS950 16 port switch.
All hosts&router have rtl8139 NICs.
OS : Slackware linux 12.1.
I use a switch with vlan technique to separate my network to some segment.
here my plan:
router eth0 ---> switch port 1
switch port 5 <--- eth0 host A
switch port 6 <--- eth0 host B
in eth0 of router, I make two vlan :
host A :
host B :
Arrange vlan configuration in switch :
ping result to both host A and host B from router gave same result : Destination Host Unreachable
ping command :
Please help, there's maybe I have wrong concept about vlan configuration?
Thank you very much.
Regards,
Denny
All config seems to be ok. Check ping from host to router (in same network, 172.16.5.2 -> 172.16.5.1 etc). Check running router process on router. And check trunk mode on AT switch - it must be 802.1q (dot1q).
Additionaly try to disable firewall on router, if you use that
hi,
i tried to configure an VLAN interface on my SF280 based on the documentation on docs.sun.com
# ifconfig eri1000 plumb up
Oct 21 13:41:26 cmsmaster ip: ip_rput_dlpi(eri1000): DL_ERROR_ACK for DL_ATTACH_REQ(11), errno 8, unix 0
ifconfig: SIOCSLIFNAME for ip: eri1000: no such interface... (2 Replies)
I do have 2 different segment network which different platform on each segment. E.g. 20 segment, Windows OS can talk to Unix OS and 21 segment practice same rule. Further more, Windows OS from 20 segment can talk to 21 segment other OS but only the UNIX OS in 20 segment fail to talk to 21 segment.... (3 Replies)
Hi all,
so server: FreeBSD 7.0 release,
interfaces on it DLINK DGE-528T with support of vlans :))
so first interface looks to LAN second to ISP.
I created vlan1 with id 1 and gave to it ip address and plug it in
tagged port of swith for vlan 1. so client from vlan1 reaches the server.
it... (2 Replies)
Hi,
Whether the following piece of code is placed in the read-only memory of code (text) segment or data segment?
char *a = "Hello";
I am getting two different answers while searching in google :( that's why the confusion is (7 Replies)
Hello. I want to Communicate 2 VLAN with router like this solution:
http://8pic.ir/images/83m0ouih8mmm9s1sfl56.jpg
For this purpose I'm configuring 2 Linux system as a switch and connect 4 host to them. Then a router is added to scenario.
The configuration of the switches is:
On DUT1(Linux):... (1 Reply)
Hi,
Is it possible to VLAN tag with a ce interface on Solaris 9? Link speed is gb.
ce:0:ce0:link_speed 1000
I have a ce0 interface I would need to have access to another VLAN as well as the one it's currently on.
What commands would I need to run?
Thanks.;) (2 Replies)
We have two hosts in same vlan with same route rules.
One of them is not able to connect to an outside IP while in another I get "failed: Connection timed out" while testing the connectivity through netcat.
I have tried mtr /traceroute and it gives me the same results.
Is there a netcat... (1 Reply)
Have 2 nics on physical system
net0 phys 1500 up --
net1 phys 1500 up --
1. I want to create a link aggregation with LACP enabled with above 2 nics
2. Create port-group(Like we create on ESXi) with VLAN-ID 2141
3. And assign this... (0 Replies)
Hi Folks,
I am currently moving systems to a new environment, with some changes to the network requirements on the systems.
One of these changes is moving from just standard IPMP to using IPMP on top of a VLAN, I have used VLAN tagging befor without issue - however not with IPMP.
What I... (2 Replies)
Discussion started by: gull04
2 Replies
LEARN ABOUT FREEBSD
etherswitchcfg
ETHERSWITCHCFG(8) BSD System Manager's Manual ETHERSWITCHCFG(8)NAME
etherswitchcfg -- configure a built-in Ethernet switch
SYNOPSIS
etherswitchcfg [-f control file] info
etherswitchcfg [-f control file] config command parameter
etherswitchcfg [-f control file] phy phy.register[=value]
etherswitchcfg [-f control file] port%d [flags] command parameter
etherswitchcfg [-f control file] reg register[=value]
etherswitchcfg [-f control file] vlangroup%d command parameter
DESCRIPTION
The etherswitchcfg utility is used to configure an Ethernet switch built into the system. etherswitchcfg accepts a number of options:
-f control file
Specifies the etherswitch(4) control file that represents the switch to be configured. It defaults to /dev/etherswitch0.
-m When reporting port information, also list available media options for that port.
-v Produce more verbose output. Without this flag, lines that represent inactive or empty configuration options are omitted.
config
The config command provides access to global switch configuration parameters. It support the following commands:
vlan_mode mode Sets the switch VLAN mode (depends on the hardware).
phy
The phy command provides access to the registers of the PHYs attached to or integrated into the switch controller. PHY registers are speci-
fied as phy.register, where phy is usually the port number, and register is the register number. Both can be provided as decimal, octal or
hexadecimal numbers in any of the formats understood by strtol(3). To set the register value, use the form instance.register=value.
port
The port command selects one of the ports of the switch. It supports the following commands:
pvid number Sets the default port VID that is used to process incoming frames that are not tagged.
media mediaspec
Specifies the physical media configuration to be configured for a port.
mediaopt mediaoption
Specifies a list of media options for a port. See ifconfig(8) for details on media and mediaopt.
And the following flags (please note that not all flags are supported by all switch drivers):
addtag Add VLAN tag to each packet sent by the port.
-addtag
Disable the add VLAN tag option.
striptag
Strip the VLAN tags from the packets sent by the port.
-striptag
Disable the strip VLAN tag option.
firstlock
This options makes the switch port lock on the first MAC address it sees. After that, usually you need to reset the switch to learn
different MAC addresses.
-firstlock
Disable the first lock option. Note that sometimes you need to reset the switch to really disable this option.
dropuntagged
Drop packets without a VLAN tag.
-dropuntagged
Disable the drop untagged packets option.
doubletag
Enable QinQ for the port.
-doubletag
Disable QinQ for the port.
ingress
Enable the ingress filter on the port.
-ingress
Disable the ingress filter.
reg
The reg command provides access to the registers of the switch controller.
vlangroup
The vlangroup command selects one of the VLAN groups for configuration. It supports the following commands:
vlan VID Sets the VLAN ID (802.1q VID) for this VLAN group. Frames transmitted on tagged member ports of this group will be tagged with
this VID. Incoming frames carrying this tag will be forwarded according to the configuration of this VLAN group.
members port,...
Configures which ports are to be a member of this VLAN group. The port numbers are given as a comma-separated list. Each port
can optionally be followed by ``t'' to indicate that frames on this port are tagged.
FILES
/dev/etherswitch? Control file for the Ethernet switch driver.
EXAMPLES
Configure VLAN group 1 with a VID of 2 and make ports 0 and 5 its members while excluding all other ports. Port 5 will send and receive
tagged frames while port 0 will be untagged. Incoming untagged frames on port 0 are assigned to vlangroup1.
# etherswitchcfg vlangroup1 vlan 2 members 0,5t port0 pvid 2
SEE ALSO etherswitch(4)HISTORY
etherswitchcfg first appeared in FreeBSD 10.0.
AUTHORS
Stefan Bethke
BSD September 20, 2013 BSD