Sponsored Content
Special Forums IP Networking Proxy Server Linux Networking - VLANs & Multiple IP's Post 302920583 by PCB on Friday 10th of October 2014 07:54:52 AM
Old 10-10-2014
Hi Dave,

We have a similar number of VLANs across our operations and there is no debate around the need for the VLANs and their separation. My question is more around whether a VM (e.g. Linux) would connect to many VLANs or only one VLAN. E.g. you say you have a System Management VLAN and then say a DMZ VLAN. If a VM is a web server running apache and sits in the DMZ VLAN, where would the ssh traffic to that same VM go? Would it have an IP on the Management VLAN on which SSH listens, and then another IP in the DMZ VLAN on which it does the HTTP traffic? or/ would you say that its primary function is a web server and thus both HTTP and SSH traffic goes on the DMZ VLAN
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Networking Problems On Linux

HI I JUST INSTALLED LINUX 7.0 ON MY COMPUTER AND IT WIPED OUT THE WHOLE WIN2K SO MY QUESTION IS THAT I CAN'T .....MY NETSCAPE NAVIGATOR DOESN'T WORK (NO INTERNET AT ALL) WHAT SHOULD I DO!... I HAVE A CABLE MODEM IP I USE TO SEARCH THE INTERNET WITH BOTH BROWSER IE AND NETS..NAV.. NOW I... (1 Reply)
Discussion started by: IMOTEB
1 Replies

2. UNIX for Dummies Questions & Answers

Nescape & dial up networking "Linux"

Sorry I need to Know How to connect to the Internet using Netscape in the GUI of the Red Hat Linux .....using phone line with a modem Us robbitics ....Such as in windows We add dial up adapter etc ......:confused: (1 Reply)
Discussion started by: atiato
1 Replies

3. Programming

networking aspect of linux

Hi, everybody. I wanted to know the networking aspect of Linux i.e how Linux works using networks. If anyone knows it or the site or book where I can find this topic then please inform me. Thanks a lot for your co-operation. (1 Reply)
Discussion started by: kinnaree
1 Replies

4. UNIX for Advanced & Expert Users

Linux networking

hi, we've linux suse version 7 and i've installed linux on the PC's, so could anyone tell me that which files should i change under /etc to be able to Telnet & Ftp to other machine? Rgrds, Nikk (3 Replies)
Discussion started by: nikk
3 Replies

5. IP Networking

Networking XP with Linux (Vector Linux)

I need help. I have a cable modem. It has an USB out. I didn't want to buy a router. So I hooked my WinXP computer up to the cable modem by USB. I wanted to network my Linux computer to the WinXp computer by the ethernet cards in each. The only problem is, I don't know what I need to know to do... (1 Reply)
Discussion started by: garfunkle
1 Replies

6. UNIX for Dummies Questions & Answers

Networking unix & windows

I have very basic question: I have 2 windows sytem & 1 Unix system & wanted to put all three system into one network to each other. what kind of other hardware I need? like cable , router? can anybody tell me the configuration? like how to connect to external hardware to put into network? ... (9 Replies)
Discussion started by: kar1
9 Replies

7. Solaris

Networking with Hub, & Sol 10 Problem

Unable to Ping network nodes Currently have two Solaris 10 servers connected via a dumb Hub. I'm unable to ping either box but they can ping themselves. I have double checked physical connections and the following files; /etc/hosts - verified that all devices are listed correctly... (4 Replies)
Discussion started by: pham
4 Replies

8. What is on Your Mind?

Career in Networking & Network Security

Hii i want to make career in networking and i m new in this field could u plz help me what should i do (2 Replies)
Discussion started by: pawan_kumar
2 Replies

9. Linux

Linux networking configuration

I have a question concerning default gateways in RHEL. In Linux, the default gateway does not have to be associated with a specific interface - when you look at your routing table with route -n, your default gateway can be associated with the default route on the last line, and doesn't have to be... (0 Replies)
Discussion started by: rojizo
0 Replies

10. UNIX and Linux Applications

Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

Hi Team, I am facing issue while using Xalan & Xerces for my application. Below are my environment details i am using :- Platform:- Oracle Linux 6.6 Compiler :- solarisstudio12.3 C++ compiler for Linux Below are the versions of Xalan & Xerces source code used to build the shared object... (0 Replies)
Discussion started by: agrachirag
0 Replies
Info::CiscoVTP(3pm)					User Contributed Perl Documentation				       Info::CiscoVTP(3pm)

NAME
SNMP::Info::CiscoVTP - SNMP Interface to Cisco's VLAN Management MIBs AUTHOR
Max Baker SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $vtp = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $vtp->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
SNMP::Info::CiscoVTP is a subclass of SNMP::Info that provides information about a Cisco device's VLAN and VTP Domain membership. Use or create in a subclass of SNMP::Info. Do not use directly. Inherited Classes None. Required MIBs CISCO-VTP-MIB CISCO-VLAN-MEMBERSHIP-MIB CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz GLOBALS
$vtp->vtp_version() ("vtpVersion") $vtp->vtp_maxstore() ("vtpMaxVlanStorage") $vtp->vtp_notify() ("vtpNotificationsEnabled") $vtp->vtp_notify_create() ("vtpVlanCreatedNotifEnabled") $vtp->vtp_notify_delete() ("vtpVlanDeletedNotifEnabled") $vtp->vtp_trunk_set_serial() ("vlanTrunkPortSetSerialNo") TABLE METHODS
Your device will only implement a subset of these methods. $vtp->i_vlan() Returns a mapping between "ifIndex" and assigned VLAN ID for access ports and the default VLAN ID for trunk ports. $vtp->i_vlan_membership() Returns reference to hash of arrays: key = "ifIndex", value = array of VLAN IDs. These are the VLANs which are members of enabled VLAN list for the port. Example: my $interfaces = $vtp->interfaces(); my $vlans = $vtp->i_vlan_membership(); foreach my $iid (sort keys %$interfaces) { my $port = $interfaces->{$iid}; my $vlan = join(',', sort(@{$vlans->{$iid}})); print "Port: $port VLAN: $vlan "; } VLAN Table ("CISCO-VTP-MIB::vtpVlanTable") See ftp://ftp.cisco.com/pub/mibs/supportlists/wsc5000/wsc5000-communityIndexing.html <ftp://ftp.cisco.com/pub/mibs/supportlists/wsc5000/wsc5000-communityIndexing.html> for a good treaty of how to connect to the VLANs $vtp->v_index() ("vtpVlanIndex") $vtp->v_state() ("vtpVlanState") $vtp->v_type() ("vtpVlanType") $vtp->v_name() ("vtpVlanName") $vtp->v_mtu() ("vtpVlanMtu") $vtp->v_said() ("vtpVlanDot10Said") $vtp->v_ring() ("vtpVlanRingNumber") $vtp->v_bridge() ("vtpVlanBridgeNumber") $vtp->v_stp() ("vtpVlanStpType") $vtp->v_parent() ("vtpVlanParentVlan") $vtp->v_trans1() ("vtpVlanTranslationalVlan1") $vtp->v_trans2() ("vtpVlanTranslationalVlan2") $vtp->v_btype() ("vtpVlanBridgeType") $vtp->v_hop_are() ("vtpVlanAreHopCount") $vtp->v_hop_ste() ("vtpVlanSteHopCount") $vtp->v_crf() ("vtpVlanIsCRFBackup") $vtp->v_type_ext() ("vtpVlanTypeExt") $vtp->v_if() ("vtpVlanIfIndex") VLAN Membership Table ("CISCO-VLAN-MEMBERSHIP-MIB::vmMembershipTable") $vtp->i_vlan_type() Static, Dynamic, or multiVlan. ("vmVlanType") $vtp->i_vlan2() The VLAN that an access port is assigned to. ("vmVlan") $vtp->i_vlan_stat() Inactive, active, shutdown. ("vmPortStatus") $vtp->i_vlan_1() Each bit represents a VLAN. This is 0 through 1023 ("vmVlans") $vtp->i_vlan_2() Each bit represents a VLAN. This is 1024 through 2047 ("vmVlans2k") $vtp->i_vlan_3() Each bit represents a VLAN. This is 2048 through 3071 ("vmVlans3k") $vtp->i_vlan_4() Each bit represents a VLAN. This is 3072 through 4095 ("vmVlans4k") VLAN Membership Voice VLAN Table ("CISCO-VLAN-MEMBERSHIP-MIB::vmVoiceVlanTable") $vtp->i_voice_vlan() ("vmVoiceVlanId") Management Domain Table ("CISCO-VTP-MIB::managementDomainTable") $vtp->vtp_d_index() ("managementDomainIndex") $vtp->vtp_d_name() ("managementDomainName") $vtp->vtp_d_mode() ("managementDomainLocalMode") $vtp->vtp_d_rev() ("managementDomainConfigRevNumber") $vtp->vtp_d_updater() ("managementDomainLastUpdater") $vtp->vtp_d_last() ("managementDomainLastChange") $vtp->vtp_d_status() ("managementDomainRowStatus") $vtp->vtp_d_tftp() ("managementDomainTftpServer") $vtp->vtp_d_tftp_path() ("managementDomainTftpPathname") $vtp->vtp_d_pruning() ("managementDomainPruningState") $vtp->vtp_d_ver() ("managementDomainVersionInUse") VLAN Trunk Port Table ("CISCO-VTP-MIB::vlanTrunkPortTable") $vtp->vtp_trunk_mgmt_dom() ("vlanTrunkPortManagementDomain") $vtp->vtp_trunk_encaps_t() ("vlanTrunkPortEncapsulationType") $vtp->vtp_trunk_vlans() ("vlanTrunkPortVlansEnabled") $vtp->vtp_trunk_vlans_2k() ("vlanTrunkPortVlansEnabled2k") $vtp->vtp_trunk_vlans_3k() ("vlanTrunkPortVlansEnabled3k") $vtp->vtp_trunk_vlans_4k() ("vlanTrunkPortVlansEnabled4k") $vtp->vtp_trunk_native() ("vlanTrunkPortNativeVlan") $vtp->i_pvid() ("vlanTrunkPortNativeVlan") $vtp->vtp_trunk_rstat() ("vlanTrunkPortRowStatus") $vtp->vtp_trunk_dyn() ("vlanTrunkPortDynamicState") $vtp->vtp_trunk_dyn_stat() ("vlanTrunkPortDynamicStatus") $vtp->vtp_trunk_vtp() ("vlanTrunkPortVtpEnabled") $vtp->vtp_trunk_encaps() ("vlanTrunkPortEncapsulationOperType") SET METHODS
These are methods that provide SNMP set functionality for overridden methods or provide a simpler interface to complex set operations. See "SETTING DATA VIA SNMP" in SNMP::Info for general information on set operations. $vtp->set_i_vlan ( vlan, ifIndex ) Changes an access (untagged) port VLAN, must be supplied with the numeric VLAN ID and port "ifIndex". This method should only be used on end station (non-trunk) ports. Example: my %if_map = reverse %{$vtp->interfaces()}; $vtp->set_i_vlan('2', $if_map{'FastEthernet0/1'}) or die "Couldn't change port VLAN. ",$vtp->error(1); $vtp->set_i_pvid ( pvid, ifIndex ) Sets port default VLAN, must be supplied with the numeric VLAN ID and port "ifIndex". This method should only be used on trunk ports. Example: my %if_map = reverse %{$vtp->interfaces()}; $vtp->set_i_pvid('2', $if_map{'FastEthernet0/1'}) or die "Couldn't change port default VLAN. ",$vtp->error(1); $vtp->set_add_i_vlan_tagged ( vlan, ifIndex ) Adds the VLAN to the enabled VLANs list of the port, must be supplied with the numeric VLAN ID and port "ifIndex". Example: my %if_map = reverse %{$vtp->interfaces()}; $vtp->set_add_i_vlan_tagged('2', $if_map{'FastEthernet0/1'}) or die "Couldn't add port to egress list. ",$vtp->error(1); $vtp->set_remove_i_vlan_tagged ( vlan, ifIndex ) Removes the VLAN from the enabled VLANs list of the port, must be supplied with the numeric VLAN ID and port "ifIndex". Example: my %if_map = reverse %{$vtp->interfaces()}; $vtp->set_remove_i_vlan_tagged('2', $if_map{'FastEthernet0/1'}) or die "Couldn't add port to egress list. ",$vtp->error(1); perl v5.12.4 2011-09-28 Info::CiscoVTP(3pm)
All times are GMT -4. The time now is 12:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy