Sponsored Content
Special Forums IP Networking network segment use vlan, linux vconfig and AT-GS950 Post 302252213 by lorentz on Wednesday 29th of October 2008 03:38:52 AM
Old 10-29-2008
Quote:
Originally Posted by penyu
Dear all,

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 :
Code:
# modprobe 8021q
# ifconfig eth0 0.0.0.0 up
# vconfig add eth0 5
# ifconfig eth0.5 172.16.5.1 netmask 255.255.255.0 up
# vconfig add eth0 6
# ifconfig eth0.5 172.16.6.1 netmask 255.255.255.0 up

host A :
Code:
# ifconfig eth0 172.16.5.2 netmask 255.255.255.0 up

host B :
Code:
# ifconfig eth0 172.16.6.2 netmask 255.255.255.0 up

Arrange vlan configuration in switch :
Code:
VLAN_ID    VLAN_NAME     VLAN_MEMBER
1        Default VLAN   Untag:1; Tag:-; Not_member:2-16
5        vlan5              Untag:5; Tag:1; Not_member:2-4,6-16
6        vlan6              Untag:6; Tag:1; Not_member:2-5,7-16

ping result to both host A and host B from router gave same result : Destination Host Unreachable
ping command :
Code:
# ping 172.16.5.2 -I vlan5
# ping 172.16.6.2 -I vlan6

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

I hope that helps
 

10 More Discussions You Might Find Interesting

1. Solaris

VLAN on SF280

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)
Discussion started by: pressy
2 Replies

2. IP Networking

Network Access on Different Segment

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)
Discussion started by: HASM
3 Replies

3. IP Networking

what is wrong with VLAN???

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)
Discussion started by: samar
2 Replies

4. AIX

how to know the vlan id?

I have a aix 5.3, two network adapter, configure as a etherchannel, how can I know the vlan id by command? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

5. Programming

Data segment or Text segment

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)
Discussion started by: royalibrahim
7 Replies

6. IP Networking

Implement inter vlan routing with Linux

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)
Discussion started by: zsn
1 Replies

7. Solaris

Solaris 9 VLAN tagging with ce interface

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)
Discussion started by: sparcman
2 Replies

8. Red Hat

Network issue in same vlan

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)
Discussion started by: jacki
1 Replies

9. Solaris

Solaris non-global zone network vlan

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)
Discussion started by: Shirishlnx
0 Replies

10. Solaris

IPMP over VLAN questions.

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
IBPORTSTATE(8)							OpenIB Diagnostics						    IBPORTSTATE(8)

NAME
ibportstate - handle port (physical) state and link speed of an InfiniBand port SYNOPSIS
ibportstate [-d(ebug)] [-e(rr_show)] [-v(erbose)] [-D(irect)] [-G(uid)] [-s smlid] [-V(ersion)] [-C ca_name] [-P ca_port] [-t(imeout) time- out_ms] [-h(elp)] <dest dr_path|lid|guid> <portnum> [<op>] DESCRIPTION
ibportstate allows the port state and port physical state of an IB port to be queried (in addition to link width and speed being validated relative to the peer port when the port queried is a switch port), or a switch port to be disabled, enabled, or reset. It also allows the link speed enabled on any IB port to be adjusted. OPTIONS
op Port operations allowed supported ops: enable, disable, reset, speed, query Default is query ops enable, disable, and reset are only allowed on switch ports (An error is indicated if attempted on CA or router ports) speed op is allowed on any port speed values are legal values for PortInfo:LinkSpeedEnabled (An error is indicated if PortInfo:LinkSpeedSupported does not support this setting) (NOTE: Speed changes are not effected until the port goes through link renegotiation) query also validates port characteristics (link width and speed) based on the peer port. This checking is done when the port queried is a switch port as it relies on combined routing (an initial LID route with directed routing to the peer) which can only be done on a switch. This peer port validation feature of query op requires LID routing to be functioning in the subnet. COMMON OPTIONS
Most OpenIB diagnostics take the following common flags. The exact list of supported flags per utility can be found in the usage message and can be shown using the util_name -h syntax. # Debugging flags -d raise the IB debugging level. May be used several times (-ddd or -d -d -d). -e show send and receive errors (timeouts and others) -h show the usage message -v increase the application verbosity level. May be used several times (-vv or -v -v -v) -V show the version info. # Addressing flags -D use directed path address arguments. The path is a comma separated list of out ports. Examples: "0" # self port "0,1,2,1,4" # out via port 1, then 2, ... -G use GUID address argument. In most cases, it is the Port GUID. Example: "0x08f1040023" -s <smlid> use 'smlid' as the target lid for SM/SA queries. # Other common flags: -C <ca_name> use the specified ca_name. -P <ca_port> use the specified ca_port. -t <timeout_ms> override the default timeout for the solicited mads. Multiple CA/Multiple Port Support When no IB device or port is specified, the port to use is selected by the following criteria: 1. the first port that is ACTIVE. 2. if not found, the first port that is UP (physical link up). If a port and/or CA name is specified, the user request is attempted to be fulfilled, and will fail if it is not possible. EXAMPLES
ibportstate 3 1 disable # by lid ibportstate -G 0x2C9000100D051 1 enable # by guid ibportstate -D 0 1 # (query) by direct route ibportstate 3 1 reset # by lid ibportstate 3 1 speed 1 # by lid AUTHOR
Hal Rosenstock <halr@voltaire.com> OpenIB October 19, 2006 IBPORTSTATE(8)
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy