Fedora Networking :: Setting Up A Vlan Network And After Reading Several Man Pages?

Sep 8, 2010

I'm currently setting up a vlan network and after reading several man pages I still have 2 questions / problems:

1. I would want to put several subnets into one vlan.Meaning for example, I want to have the following Vlans with subnets:

vlan1 10.1.1.0/24
vlan2 10.1.2.0/24
vlan3 10.1.3.0/24
vlan3 10.1.4.0/24
vlan3 10.1.5.0/24

Is that possible?

EDIT: I found a sample configuration, sadly without any comments, where there are defined some interfaces named vlan1:0 trough vlan1:3. Could that be the option I've been looking for.However in the definition of the vlan1 device it is configured with the subnetmask 255.0.0.0 . I would like to know the mechanics of that option, too.

2. In the wlan part of the network I want to have a dhcp server distributing ip addresses. However I want hosts the server 'knows' (by mac address) to be in a different vlan than those unknown. Is there any way to achieve that? If yes, do I need special wlan access points or can I do it by my configurable switch or by the server?

View 2 Replies


ADVERTISEMENT

Fedora Networking :: Setup The Network Scripts To Create Two Network Interfaces For Vlan X And Y?

Apr 7, 2009

Using Fedora 10, can anyone tell me how to setup the network scripts to create two network interfaces for vlan x and y. Both interfaces should obtain an ip from dhcp and both interfaces should run over eth0.

View 2 Replies View Related

Red Hat :: Networking - Setup Network Scripts To Create Two Network Interfaces For Vlan X And Y

Apr 7, 2009

Can anyone tell me how to setup the network scripts to create two network interfaces for vlan x and y. Both interfaces should obtain an ip from dhcp and both interfaces should run over eth0.

View 4 Replies View Related

Networking :: Route Non-vlan Packet To A Vlan Interface

Apr 20, 2010

do you know if there is any possibility to route/force non-vlan packet to a vlan interface in Linux?

View 2 Replies View Related

Networking :: Layer 2 Switch - VLAN Router To Network

May 15, 2009

Our ISP provides us with Layer 2 hardware (Modem?/Switch? (Hatteras)) for our leased line and internet access. I have been told that I should set up a VLAN capable router to separate the internet traffic from the internal traffic. I found that linux is capable of VLAN routing. Nice!

I have setup opensuse 10.3 put in two NICs and did the following
vconfig add eth0 10
vconfig add eth0 20
ifconfig public.ip.add.ress netmask 255.255.255.252 eth0.10 up
ifconfig 192.168.0.1 netmask 255.255.255.0 eth0.20 up

Plugged this NIC into the HATTERAS hardware (with a straight cable), and thought that this way I should be able to ping the public gateway or any ip out on the internet. My ISP is telling me that I should create a VLAN trunk to be able to 'use the internet', but as I understand in linux if I create any number of VLANs on one NIC they are already trunked. I also got the info, that the traffic is tagged, and I can separate the traffic reading the tags. I already read that some NICs are not able to VLAN because they are not able to handle the increased packet size.

Also that the MTU setting is important (dono' the exact value though, only that its important). I thought that a linux machine can act as a router and firewall in such a case, because proprietary switches/routers use linux as embedded os. This is my first meeting with VLAN so if this whole post does not make any sense or you think that I just need to RTFM more then tell me! I also have some (3) Dlink 3226 Layer2 switches around, but I think it would be waste to use a 24 port switch on this subject.

View 12 Replies View Related

Ubuntu Servers :: Setting MTU With VLAN?

Apr 4, 2010

Looking for any help I can get here.. We have a 9.10 server with both (ifenslave & VLAN) installed and configured. When we are running in bond mode (bond0) it sets the MTU to 9000 just fine.

iface bond0 inet static
hwaddress ether 00:04:7B:30:4A:AC
address 172.21.2.250
netmask 255.255.255.0
mtu 9000

[Code]...

View 5 Replies View Related

CentOS 5 :: Cryptical Output When Reading Man Pages?

Feb 10, 2011

There are some cryptical characters like the sentence: When a file with the attribute set is accessed, its atime record is not modified.

View 2 Replies View Related

Fedora Networking :: Creating VM VLAN ?

Aug 5, 2009

I'm preparing to "follow" these directions which will make VirtualBox's networking behave like VMWare's "NAT" networking. Of course, these instructions are for a Ubuntu/Debian setup.

I am quite certain that I can write a script that'll do the equivalent steps on my Fedora 11 box -- which is acceptable to me. I would, however, like to know how to splice this stuff into NetworkManager and/or /etc/sysconfig/networking/devices/, to do this the "right" way.

The desired networking behavior:
-VM's get assigned addresses via DHCP on a virtual network
-VM's can talk to each other and to their physical host
-VM traffic out to the 'real world' is NATted

View 1 Replies View Related

Fedora Networking :: VLAN Not Starting On Boot?

Jan 26, 2009

I just have installed FC 10 on a box that I will use as a router/firewall box. On the box I have three interfaces (eth0, eth0.704 (VLAN), and eth1). When the machine boots up, only eth0 and eth1 come up. If I run /etc/init.d/network restart, then eth0.704 will come up. If I add that command to rc.local, then all interfaces come up at boot.

I have the directive ONBOOT=yes in ifcfg-eth0.704. What would cause this vlan interface not to start at boot on the machine?

View 7 Replies View Related

Fedora Networking :: VLAN Not Recognizing Incoming Traffic?

May 29, 2011

Before explaining the problem, I have to draw the environment. Because of post size limitations, I'll have to break this post in more than one entry.

Physical view

Code:
+--------+ +---+
|storage1|-----| |
+--------+ | s |
| w |
+--------+ | i | +-------+
|router2 |-----| t |-----|router1|--->Internet
+--------+ | c | +-------+
| h |
+--------+ | 8 |
|router3 |-----| |
+--------+ +---+
Device details

[Code]....

View 14 Replies View Related

Fedora Networking :: VLAN Do Not Work Over Bonded Or Bridged Interfaces

Aug 20, 2011

I'm having trouble getting Fedora 15 to work with my em/bond/br configuration as it did in Fedora 14. I've got a bonding interface over em1 and em2, and then individual bond vlans (bond0.2, bond0.10, etc...), I then have a similarly named bridge interface (br0.2, br0.10, etc...) for kvm. Regardless of if I assign bond0.2 or br0.2 the IP address, I am unable to ping the gateway, but the native untagged VLAN (bond0, br0) has no issue at all.

To try to isolate this issue down to the switch or Fedora 15, I went with a plain em setup and configured em1, and em1.2 which works as expected. This issue has been plaguing me since Fedora 15 came out and I'm about to trash it and go back to Fedora 14 (Which didn't have this issue), but some of the new kvm features have kept me trying to get over this incomprehensible hump.

View 1 Replies View Related

Fedora Networking :: Network Manager Setting Invalid Error

Jun 23, 2010

I am using fedora 13. when i restart network service then following error.

View 3 Replies View Related

Fedora Networking :: Samba And Network Manager In 9 - Setting Up A Wired Connection?

Feb 3, 2009

I have 2 workstations that I'm trying to network together so that I can backup each to the other. One is XP sp2 and the other Fedora 9. Since installing Samba on the Fedora box and trying to get it configured, I have a problem that Add/remove programs won't do installs because it says there's no connection to a network. Network Manager says there aren't any connections, but it worked before the Samba install. Mozilla and Thunderbird can access the internet OK. Both workstations are connected by cable to my router and thus to my ISP (DNS server).

Two questions:- where can I find hints on setting up a wired connection (which card's MAC address does it want? router or wrkstn?) and Am I right that Add/remove is stuffed because of Network Manager?I now have Samba working from Linux to XP, but still can't get into Linux from XP. I tried the Linux PC's MAC address and set up a wired connection in Network Manager. NM still thinks there isn't one...

View 1 Replies View Related

Ubuntu Networking :: Cannot Access Apache Server Pages From Outside Local Network

Jan 26, 2011

I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17

My site is at [URL]

Here is the output of ifconfig

Code:
eth0 Link encap:Ethernet HWaddr 00:26:22:50:0f:0a
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

[Code]....

View 4 Replies View Related

OpenSUSE Network :: VLAN On 11 Then DHCP Query?

Apr 26, 2010

basing on the research and trial and error which am still on the trial stage with errors here's the scenario We have 5 VLAN's with and existing Windows DHCP Server, that serves 5 Scopes for the 5 VLAN's 192.168.100.x and 192.168.200.x IP Addressess evrything works well on our Windows DHCP server, what i want to do is replace our windows dhcp server with a linux box , with one NIC , ive read about VLAN on linux 802.xx something and VLAN Tagging am already confused on what to do.. what i want to ask you guys is an assistance implementation the vLAN on linux then the dhcpd.conf

View 9 Replies View Related

CentOS 5 :: Http Installation With VLAN Network?

Sep 14, 2009

Somebody know anyway to install Centos with http install into a vlan network? I need to tag interface during ip-confgiration.

View 1 Replies View Related

Fedora Hardware :: Internet And Network - Really Slow Loading Of Pages

May 31, 2011

I recently bought my laptop (Fujitsu nh540) and installed FC14 on it. I have Integrated WLAN Atheros HB97 (IEEE 802.11b/g/n) (more info here about the config) running on: 2.6.35.13-91.fc14.i686.PAE

Since I installed FC I've had problems with the internet. In any browser pages load very slow, it looks like the browser waits some seconds, sometimes even 1-2 minutes until it actually starts to load the page.

Second thing I saw is that when it boots I keep getting:
Determining IP information for eth0... failed; no link present. Check cable? [FAILED]
But I have WiFi internet. I am not using a wired internet connection.

I installed madwifi driver (compiled it, after reading some info on google and it seems it should be good for my network) and it seems it's a bit better, but I still have to wait some seconds until it starts loading pages. I tried different browsers, it makes no difference. On my other 2 laptops I have no problems, the internet works fine, same goes for my android mobile phone. Another "nice" problem I noticed is that when compiz is enabled I see incoming video on skype black and the same black screen for some movies with some programs. After disablig compiz, all works for video.

View 1 Replies View Related

Ubuntu Networking :: Broadcom On 2.6.34 - Reinstall Error Code: Reading Package Lists ... Done Building Dependency Tree Reading State Information

May 20, 2010

i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...

[Code].....

View 9 Replies View Related

Fedora :: Apache Not Parsing Php Pages / Trying To Run Php Script In Browser Its Not Opening Php Pages?

Feb 19, 2010

I have a Cent OS 5.4 32 bit final installed in my dedicated server.

I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.

Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.

Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..

View 2 Replies View Related

Networking :: Lost In Network / Setting Up Network On Laptop With Virtual Guest Machines

Feb 16, 2010

I've been trying to understand how Linux creates the network/interfaces on a machine (been reading the Linux admin guide), but as I'm pretty new to this subject, I've got lost in the forest.

To provide with my goal:
1.) Learn about network setups on Linux
2.) Be able to maintain my own (virtual) network
3.) Configure my (virtual) network

View 1 Replies View Related

OpenSUSE Network :: 11.4 (Module E1000e And VLAN) - System Hangs

Mar 16, 2011

The module e1000e is loaded into system. At addition VLAN the system hangs at a stop VLAN or configure other devices (sound, video). In OpenSuSe 11.3 it worked correctly.
MB: ASUS P5Q-ME DO / NetCard: Intel 82567LM-3

View 2 Replies View Related

Networking :: No Connection Within The Vlan?

Dec 13, 2010

i set up vlan1 in cat2950 switch

#config t
#int vlan 2
#ip address 192.168.1.7
#no shutdown

i then moved all the interface ports (port 1 - port 24) from the default vlan1 to the vlan2, with....

#int f0/1
#switchport mode access
#switchport access vlan2

the problem is that with the above configuration, i connected 3 linux boxes on the switch but non of them could connect with each other.
when i did a ping, it says "destination unreachable"

what am i missing out here, and whats the fix?

i assigned static ip address to these boxes, also there's no router in this network by the way. i dont think i will need one either as all the machines in in the same vlan2.

View 1 Replies View Related

Fedora Networking :: Web Pages Dont Load Completely ?

Dec 14, 2010

I am using BSNL WLL (Wireless Local Loop) on my Fedora system to connect to the internet My modem is Huawei ETS-1201, I use wvdial The problem is that, on every linux distribution I tried, Webpages dont load or load incompletely randomly This happens most during peak net traffic. I tried to edit the /etc/ppp/options file to set my MTU and MRU to 576

But, It does not seem to be working. There is no such problem on Windows and I can connect flawlessly I takes several retries to connect to a site. I sometimes become frustrated with this and switch to Windows But as you all know, Windows is not the right OS for people who want more from their computers.

Below my specs:
Intel Core 2 Duo E8400
Intel BOXDG43NB
1GB DDR2 800MHz RAM
WD 320GB 7200rpm HDD

View 1 Replies View Related

Networking :: Difference Between VLAN And Subnetting?

Apr 22, 2010

What are the function differences between VLAN and subnetting ?

View 3 Replies View Related

Networking :: How To Find What Vlan My Server Is On

May 10, 2011

Is there a way to see the vlan tagging associated with an ip addresses on my centos servers from their command line?

View 3 Replies View Related

Networking :: Regarding Transparent Squid Use In Different Different VLAN?

Apr 2, 2009

i have configured transparent squid with dansguardian for content filtering i used this squid server ip on client gateway(not on browser) for content filtering, is it possible that i could use this squid server in different VLAN.

View 3 Replies View Related

CentOS 5 Networking :: Setup Two NIC's And VLAN's?

Sep 12, 2011

I'm trying to setup a Asterisk box with two NIC's. The idea is that one NIC connects to the LAN on VLAN2 (for internal voice) and the other to the SIP trunk on my ISP's Cisco 1811, configured for VLAN3.

Some info: The Cisco's VLAN1 + 2 are available on my switch. VLAN1 = 10.105.44.x with gateway .254 (the Cisco). VLAN2 = 10.106.45.x with gateway .254 (the Cisco). The Cisco's VLAN3 is available on only a single port on de Cisco, connected to one of de NIC's of the Asterisk box, eth1, with IP 10.106.46.1 and gateway .254 (the Cisco). The other NIC, eth0, is connected to the switch, on a port setup for VLAN2.

So, what I'm trying to achieve: Use eth1 tagged with VLAN3 to connect to the SIP trunk. (I could do this with a static route because my provider has a fixed IP to connect to) Use eth0 for all other traffic.

Here are some config files I've setup so far (I'm stuck on connecting to the SIP provider):

network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
GATEWAY=10.106.45.254

[Code].....

View 1 Replies View Related

Networking :: VLAN Tagged And Untagged Routing?

Sep 13, 2010

I'm using my linux system (Linux 2.6.31.12-1.0.2) as a IPTV media center (XBMC). My interface configuration is

Code: eth0 Link encap:Ethernet HWaddr 00:01:2e:2b:12:6e
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::201:2eff:fe2b:126e/64 Scope:Link

[code]...

View 2 Replies View Related

Networking :: Failed To Remove VLAN Interface?

Feb 11, 2010

My Linux machine's all Ethernet ports are connected to Cisco 2960SCG switch. Linux machine is having two Ethernet cards. First one is using "e1000" Ethernet driver and the second one is with "nxge" Ethernet driver.

Problem is; I am successful while trying to delete VLAN interfaces over motherboard PCI Ethernet card, but if i try the same on other PCI card the following messages are coming,and soon system getting hanged.

Message from syslogd@ at Wed Feb 10 17:48:11 2010 ... localhost kernel: unregister_netdevice: waiting for eth5.390 to become free. Usage count = 4

Bofore using nxge based Ethernet card I used e1000 based only, for that also I had same problem.

[root@localhost ~]# ifconfig eth5.390
eth5.390 Link encap:Ethernet HWaddr 00:21:28:21:DB:D1
inet addr:192.168.155.4 Bcast:192.168.155.255 Mask:255.255.255.0
inet6 addr: fe80::221:28ff:fe21:dbd1/64 Scope:Link

[Code]....

View 4 Replies View Related

Networking :: Iterating Through Eth And Vlan Interfaces In Perl?

Jul 14, 2010

I'm searching for a small perl script to iterate through the configured eth and vlan interfaces to get their assigned ip address and perform some processing.I'm after something like:

@interfaces = (waytogetinterfaces);
foreach (@interfaces){
#perform processing
print "Interface IP is: ", $_->IP;
}

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved