Networking :: Config DHCP For Multiple Subnet?

Jun 21, 2010

I have a network with multiple subnets from 10.12.056.0 to 10.12.060.0 using net-mask 255.255.248.0 and one gateway 10.12.056.1. I want to setup a dhcp server and wonder how should I config it? All the hosts in the network using the same net-mask and gateway.

View 4 Replies


ADVERTISEMENT

Networking :: DHCP - Creating Multiple Subnet Pools For Different Hosts?

Jul 16, 2010

I am trying to configure dhcpd to provide two different pools of IPs- one for dynamically named hosts specific to MAC addresses, and another for everyone else.So, a machine with X MAC address connects, gets an IP from e pool, and the server updates DNS with the address under a specific hostname.For the other pool, it just assigns the IP, no DNS updates.The "class" function doesn't appear to allow anything but pattern matching, and I can't find anything that specifies what "allow" and "deny" options therere for the pool command.Here's my config so far - will this do what I want?

Code:
key dhcpd {
algorithm hmac-md5;

[code]...

View 2 Replies View Related

CentOS 5 Server :: DHCP Config ( No Subnet Declaration For Eth0 )?

Apr 1, 2011

I had a server that I use for Radius DNS and Trying to put DHCP on it I have My pool in it seems right. I have 2 adresses aliased one being a helper IP that the router will send the request to. When I try to start the dhcp server I get the following.

Mar 31 14:33:11 rad2 dhcpd: No subnet declaration for eth0 (76.164.173.2).
Mar 31 14:33:11 rad2 dhcpd: ** Ignoring requests on eth0. If this is not what
Mar 31 14:33:11 rad2 dhcpd: you want, please write a subnet declaration
Mar 31 14:33:11 rad2 dhcpd: in your dhcpd.conf file for the network segment
Mar 31 14:33:11 rad2 dhcpd: to which interface eth0 is attached. **

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Config DHCP Server To Assign A Different Subnet For VPN Users?

Apr 4, 2010

I'm establishing a server that runs DHCP server, NAT gateway and VPN server. It have two physical interfaces, one for intranet and one for internet. The NAT gateway will give internet access for intranet. Another site will connect to this server by VPN. I need the server to assign a different subnet for that site other than the local site. Do anyone know how to config the DHCP server? Should I config the client classing, and how to do it?

View 3 Replies View Related

CentOS 5 Networking :: DHCP Multi-Subnet From Single Server?

Oct 24, 2010

I've got a bit of a question. My network is laid out like this:

The role assignments are thus:

Firewall - sorts out the passing through to the 3 different networks, and acts as the traffic proxy.
Windows 2003 server - Does Active Directory and DNS
CentOS server - FTP and DHCP

Now, my problem is I need the CentOS server to be able to assign IP address to both networks, however, the CentOS server can *ONLY* be connected via the one interface to the firewall. It needs to assign the Windows 2003 server and the eth0 of the firewall an IP address via static DHCP, but it also needs to able to assign the clients dynamically via any address in the 10.23.1.0/24 range. I was thinking that I would be able to create static only assignments for the servers via their MAC addresses, and only have 1 dynamically assignable entry for the clients, and then get the firewall to allow ports 67 and 68 to flow freely between eth0 and eth1, but I wasn't entirely sure of the best way to do all this.

View 1 Replies View Related

CentOS 5 Networking :: Multiple NICs On The Same Subnet?

Mar 30, 2009

I have a motherboard which has 4 x 1Gbps Ethernet controllers. I would like to use it as a Gateway for my home network. I have a static IP from my ISP which I can use to configure eth0 (I haven't done it yet as the LE-565 is currently sitting behind my Netgear router until I've got DHCP working). I would like to use eth1, eth2 and eth3 for my LAN. How do I set things up so that DHCP is handing out IP addresses on the same subnet (192.168.0.0/24) on all three interfaces?

P.S. I think what I'm asking is: how do I combine all 3 interfaces to behave like a switch (ie. just like my Netgear router)?

View 6 Replies View Related

Fedora Networking :: Multiple NICS In Same Machine In Same Subnet?

Dec 7, 2009

I have a program that attaches to an interface. I can run two copies of the program on two systems (each running one instance), connect it to a switch, say 1.1.1.1 & 1.1.2.1. In this configuration two instances of the program can communicate and everything is fine.Now, to reduce cost, it want to use only one system with two nics connected to the same switch, running two instances of the above program, each instance attached to two interfaces respectively on the system. I have the following settings:

eth1 Link encap:Ethernet HWaddr XXXXXXXXXXXXXXX
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]....

However I cannot ping one from the other.

Neither "ping -I eth1 1.1.2.1" nor "ping -I eth2 1.1.1.1" works.

View 2 Replies View Related

Ubuntu Networking :: Multiple Ipv6 Routers On A Subnet?

May 6, 2011

I have a 6to4 tunnel running on Ethernet (subnet 2002:ad4c:16cc:1) without problem. It runs radvd and announces a default route back to the Internet like this: "default via fe80::6a7f:74ff:fe0a:fbec dev br0"

On this same Ethernet I have a Linux plugbox (fe80::225:31ff:fe01:cc) which is a gateway to a network of IPv6 enabled sensors. I've assigned this second subnet 2002:ad4c:16cc:2. How do I get the plugbox to announce "2002:ad4c:16cc:2 via fe80::225:31ff:fe01:cc" so that the hosts on the Ethernet (2002:ad4c:16cc:1) will automatically pick up the route? The route works if I add it to the boxes manually. I've tried getting radvd on the plugbox to do this but I've had no success.

View 3 Replies View Related

Networking :: 2 Subnet 1 Httpd Server And 2 Dns Server How To Config?

Jun 14, 2009

I would like to setup 2 linux machine each with two ethernet cards, and need to connect to two subnet e.g. 192.168.*.* and 10.0.*.* . If one linux machine out of order, the other will take over all the services(1 httpd and two named(192.168.*.1 and 10.0.0.1 as server ip). What network config is best and easy to failover to other machine?

View 1 Replies View Related

Networking :: Get And Use DHCP Offers To Config The Wlan Connection?

May 12, 2011

I'm using the following in a script to connect to my house's wi-fi - it works perfectly for me - simple, and with a static IP:

Code:

modprobe zd1211rw #load the module needed by my wireless LAN adapter
ifconfig wlan0 up
iwconfig wlan0 essid my_network_name_at_home
ifconfig wlan0 10.0.0.8 netmask 255.255.255.0
route add default gw 10.0.0.2 wlan0
iwconfig wlan0 key key_comes_here

However, if I take my machine to the office, we've got DHCP assigned dynamic IPs. How can I modify the above script to NOT do

Code:

ifconfig wlan0 10.0.0.8 netmask 255.255.255.0
route add default gw 10.0.0.2 wlan0

but instead get them from the DHCP service running at work on the W-LAN?

View 2 Replies View Related

Networking :: VLAN With 2 Router And 2 Subnet - Is Device In Different Subnet Works

Jul 22, 2011

I have TWO L3 + router switch (say switch1 and switch2). I created VLAN100 with VLAN ID 100 in both the switches. I created router 192.168.1.1/24 in Switch1. I created router 192.168.2.1/24 in Switch2. Switch1 is connected with 1.x/24 PCs. PCs are configured with 1.1 gateway. Switch2 is connected with 2.x/24 PCs. PCs are configured with 2.1 gateway. Both Switch1 and switch2 are connected by a trunk to carry VLAN100 data.

1)I have few PCs of 1.x connected to say Switch1 Is it possible for PC with IP 192.168.1.100(x) to ping PC with IP 192.168.2.100(y)?What are the configuration required in both switches to make them communicate ? All the device in both the subnets should ping/communicate with each other.

2)Move PC (192.168.1.100) to switch2. Move PC (192.168.2.100)to switch1.What will happen when PC(1.100) ping (2.100) and vice versa?What will happen when PC(say 1.80 in switch1) pings PC (say 1.100 in switch2) and vice versa? What will happen when PC(say 1.80 in switch1) pings PC (say 2.100 in switch1) and vice versa?

View 2 Replies View Related

Security :: Disable StrictHostKeyChecking For A DHCP And DNS-using Subnet

Dec 28, 2010

I have a VMware farm where:

- DHCP is in use to give machines IPs
- Machines go up and down all the time
- All IPs are on a certain subnet
- VMs update DNS (we don't go by IP)
- SSH is in use

I would like to disable StrictHostKeyChecking only for this subnet, because IPs change all the time and editing known_hosts usually only works for a few days before the IP changes again, and once I get enough entries, there are tons of conflicts.

I tried the following in ~/.ssh/config:

Code:
Host 10.0.217.*
StrictHostKeyChecking no
UserKnownHostsFile /dev/null

[Code]....

View 10 Replies View Related

Ubuntu Networking :: Dhcp / Gateway Config / Software - Access The Net And Also Email

Apr 18, 2011

I have a simple system at home where a DSL router is used as a basic dhcp server with one port forward for ssh to a server. I need to allow my daughters, ages 14,12 and 10, to access the net and also email but I want to have complete control and logging. What I'm looking to do is set up the Ubuntu file server I already have on the network to act as a gateway and also add content management and logging as step one.

I also want to add an email server so that all the email comes into the Ubuntu server and then is allowed to be accessed by outlook on their machines after spam/content scanning for valid emails as step two. My question is what, if any, additional software do I need and what options do I have. I've played with dhcp servers at work but never got much beyond ip assignment and network booting so I'm unfamiliar with what is needed for content management and such. As to the email server I've never even played with this at all so I'm completely in the dark as to what I should be looking at to start with. I'm looking for directions, RTFM is fine but right now I'm not sure even WHAT manual/manuals I should be reading.

View 1 Replies View Related

Networking :: Windows 7 Users Can't Connect To Samba Server After Dhcp Config

Jun 27, 2011

I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.

This is the script I use at boot

Code:

#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE

[code]....

I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.

View 3 Replies View Related

Networking :: Can't Browse Computer Of One Subnet From Another Subnet

Jul 4, 2011

I installed Redhat Enterprise linux server5. it has two LAN card and two subnet connected to these two LAN card. i can browse network from these two network easily. But i created VLAN on one network card.Now i cant browse network from these VLAN subnet.

View 3 Replies View Related

Networking :: Multiple DHCP In One Large LAN?

Dec 6, 2010

I've searched on issues of multiple DHCP servers in one LAN. Just about everything is Windows or Novell based stuff. Also, the typically asked scenario is 2 or more DHCP servers for failover purpose (one goes down, the other takes over).

What I want to do with DHCP is different. My purpose would best be described as "administrative separation". Basically, if a given MAC address is configured on a specific DHCP server, that server should be the one to answer and not the other. The problem with that is that we also need a default to handle unknown MACs. So the DHCP server without the MAC configured would be answering, anyway, even if it is the only one configured to do global leasing. Timing would then be the determining factor.

The purpose is to set up a bunch of PXE network booting using program generated DHCP configuration. This server won't always be up, so it can't be used for general purpose. The DHCP server for general purpose is part of a wireless system, and it is configured by GUI and is impractical for the programmed PXE booting.

how to make these work together with everything being on the same LAN segment?

View 10 Replies View Related

Networking :: DHCP Script - Assigning Multiple IP Addresses By Mac?

Sep 6, 2010

Ive been trying to give certain clients an IP adres by mac adress. For this I use the folowing code:

host apex {
hardware ethernet 00:00:00:00:00:00;
fixed-address 192.168.250.100;
}

This works perfectly, however when I try to add a second client this way it doesnt. I tried to add the above code multiple times as a whole (2 times the above code) but that doesnt work. I also tried to just add more lines under host apex but this also doesnt work.

So my question is: How do I add more of this mac related IP adress assignments in the dhcp.conf?

View 1 Replies View Related

Networking :: Use Multiple Dhcp Subnets On Single Machine?

Dec 13, 2010

I am find myself in need of building what amounts to 3 ip networks on 1 physical lan.

first LAN is another companies network on the 10.0.0.0 network a mix of pc's and equipment

second is LAN new company network 192.168.168.0/24

third network is an ip phone system for both i would like to use 192.168.200.0/24

i am hoping to use the same dhcp server to do this, assigning address to the old company's 10. network via mac address reservation.

View 9 Replies View Related

CentOS 5 Networking :: DHCP Server To Serve Multiple Networks?

Dec 11, 2009

I was just wondering if someone could tell me the best method to connect all my hardwares together to achieve better result.HARDWARES.Cable ModemNETGEAR ROUTERNETGEAR FS728TS Smart switchLINUX SERVER WITH 2NICS.I want my dhcp server to serve 3VLAN networks. I need someone to show me how to do this. What do I need to do. keep in mind, I want eth0 to be used for public address only while eth1 for LAN. DHCP will be on eth0, but I need LAN on eth1 to be relayed back to eth0. This is my school project.

View 4 Replies View Related

OpenSUSE Network :: Samba Config For DHCP Client Laptop?

Jan 11, 2010

I'll try not to be too wordy. Want to get my openSUSE 11.2 (fresh install) laptop to see my network shares ...not to be a server or share any files. I've looked at 50 websites and everything seems to be "server" and "share" oriented. Maybe I (newb) am confused by the terminology...

I have a router that provides DHCP. My LAN PC's consist of a Vista laptop, an XP DAW, and a Kubuntu file server. Somehow I got Kubuntu configured properly, all of the Windows machines can access it and vice-versa. The Kubuntu smb.conf does not work on this laptop, and it seems overkill -no shares needed here. And yes, I get DHCP and interweb on the laptop -posted this with it.

All I want is access to my (other) network drives from this (openSUSE 11.2) laptop. Not a server, not to share. This is easy... right? It's driving me nuts Is there a Samba configuration that will let me jump onto networks and surf Windows/Samba shares like any old Windoze box browsing Network Neighborhood? Do I have to be a Samba guru?

View 7 Replies View Related

Ubuntu Networking :: DHCP Server No Longer Responses To DHCP Requests - Can't Ping Gateway

Oct 22, 2010

Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.

Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address. When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces

Code:

auto lo
iface lo inet loopback
auto vlan100
iface vlan100 inet static

[code]....

why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.

View 6 Replies View Related

Ubuntu Networking :: DHCP Server No Longer Responds To DHCP Requests - Can't Ping Gateway

Jul 1, 2010

Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.

Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address.

When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces

Code:

auto lo
iface lo inet loopback
auto vlan100

[code]....

why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.

View 2 Replies View Related

Networking :: Configure A (openSUSE) Client To Dhcp To EBox DHCP Server - Lease An IP Address

Mar 25, 2010

I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response

openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.

The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0

I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?

View 2 Replies View Related

Ubuntu Networking :: If DHCP Not Available - Fallback And Start DHCP Server?

Mar 8, 2010

Currently I have my eth0 interface getting a DHCP address but at times the DHCP server will not be reachable. Sooo what I would like my server to do is if it cannot find a DHCP server assign a static address to eth0. Then start the DHCP service so it can then dish out some addresses.How can I do this? Surely it is possible

View 2 Replies View Related

Debian Configuration :: DHCP For Multiple VLANs

Feb 7, 2016

I'm trying to setup a DHCP server that serves several different VLANs, we have 5 in total. Our network is working correctly, with static IPs, we're able to ping across without any issues.

When I connect my debian box to an interface on VLAN5, statically assign an address in the correct range, it works. Similarly with all other VLANs.

To configure this box as a DHCP, I set one of the ports on the switch as trunk, connect that to the debian box to allow all VLAN traffic to reach my debian box.

I setup DHCP following the steps on [URL] ....

Then I configured different VLANs by following the steps on [URL] .....

However, with the vlans setup, I am unable to ping anything. This is essentially what I did.

Code: Select allSet the port on the switch to trunk with 802.1 encapsulation
disable eth0
vconfig add eth0 5 # to add vlan 5
ifconfig eth0.5 192.168.5.254 netmask 255.255.255.0 up
vconfig add eth0 5 # to add vlan 10
ifconfig eth0.5 192.168.10.254 netmask 255.255.255.0 up

[Code] ....

I do not know why I am unable to get any connectivity through my VLAN interfaces.

View 2 Replies View Related

Networking :: 2 Nics In Same Subnet?

Jan 8, 2010

I have 2 x PCs and a NAS. Both PCs have 2x NICS. PC connectivity to Internet is via an ADSL router. Current config: Thus far (by choice) I've used static IPs in the 192.168.168.x range for my internal network, connecting all PCs and NAS via a jumbo frame enabled gigabit switch. This has facilitated moving data between the PCs and the NAS at high-speed. As both PCs also required Internet access from time to time, both are also connected to the ADSL router using the 2nd NIC and using subnet 192.168.1.x. I'm sure some of you are shaking your heads by now, but it works well and has been entirely hassle free.

However, I've an app running on the NAS that I'm keen to get Internet connected also. As my existing network devices are not using DHCP I figured the simplest method would be to change my ADSL router configuration such that it is in the same 192.168.168.x subnet, change its DHCP server settings to serve IPs in the same subnet (but in a restricted range I know won't cause any conflicts with the static IPs) and problem solved. On changing the ADSL router confiruration with all machines already booted up and configured as described above, everything worked. All devices could see one another, and access the Internet. On later rebooting the system this no longer works

- Internet access is fine but PCs don't see one another or the NAS. If I disconnect the ADSL Router from the PCs then all devices see one another again.

- Does having 2x NICS on a single device each assigned unique IPs in the same subnet create an issue and can it be overcome? I'd like to overcome it because making one of my PCs the gateway forces me to have it on anytime another device needs access.

- If I'm forced to use Internet connection sharing with one PC on the network connected to the router, how do I best configure this?

- One of the things I need to retain is gigabit connectivity between the PCs and PCs and the NAS (currently achieved by 192.168.168.x subnet being linked via gigabit switch).

View 4 Replies View Related

Networking :: Access IP From Outside Subnet

Dec 26, 2010

I am trying to make Apache web server, it's work but cannot be browsed outside my subnet.I am on huge LAN network, not sure how it works, know it have TL-SL2428WEB Smart Switches and probably some kind of DHCP, every user have maximum 64KB, just plug UTP cable, and I have static address on that subnet like: "my.sub.net.ip" witch I know from Java NetworkInteface class or when I try to update IP on my www.dyndns.com Dynamic DNS account with ez-ipupdate, but my subnet is connected to Web with another IP like "my.isp.provider.ip" witch I get from whatismyipaddress.com and I check that is my Cable ISP provider web IP. It is possible that there is more subnet layers between these two IP.Problem occurs when I try to access to my web site from another computer. When I set dyndns host name to be my.sub.net.ip or use localhost everything works fine from my computer, I can access my web site, Apache work, I can use ssh. To illustrate you it work like this: Go to DNS server, find my host name, get my "my.sub.net.ip" and say "This is actually my localhost IP, no need to go on Web, lets loopback". But when I try from another computer even from my college's computer on same subnet it don't succeed. When host name is set on "my.isp.provider.ip" of course nothing works.

We, users of LAN, don't have access to our LAN nor we have admin. For example sometimes we stuck without net and we cannot even press reset button on switches or something like that, we have to wait for day to they, owner of LAN, order some professional to do that. It seems they are just user of Cable TV and IP, and they bay and install LAN without any kind of admin. Also, I use Fedora 13, with httpd, ssh and others packages that comes with Fedora 13 DVD. I know to write bash scripts, use yum, very good in C++ and Java, great programmer, but newbie in networking, , a very little Perl, html, web servers, I heard for DHCP, DNS, NAT, IP forwarding. How you see it is problem in my lack of knowledge about networking. I hope that I succeed to describe by problem with enough details. Please, try to help me. I be very graceful for any kind of help. Don't afraid to bomb my head with any kind of information hard to understand.

View 7 Replies View Related

Networking :: Gateway In Other Subnet

Jan 1, 2011

I've rent a server from a Germany data center,They use a single IP as their gateway that is not in range of my servers IP,Strangly server is working well and when I use 'route -n' command the gateway which is in other subnet appears properly./etc/sysconfig/network contains no gateway IP and I don't know how they set the default gateway while after reboot the gateway is the same, also the IP is static and there's now DHCP.I need to know how they did it so I can do the same on my VPSes.

View 1 Replies View Related

OpenSUSE Network :: Config Files For Multiple IP's On VLANs?

Jun 10, 2011

How can you do it with individual ifcfg-* files?

I've tried adding them like this:

Filename: ifcfg-vlan1:0
BOOTPROTO='static'
ETHERDEVICE='vlan1'
STARTMODE='manual'
USERCONTROL='no'
IPADDR='192.168.1.2/24'

but it fails on ifup, thinking it might be the filename (the vlan tagging being picked up from the name) I tried renaming it but still no go.

I can add IP's via ifconfig, eg ifconfig vlan1:0 192.168.1.2 netmask 255.255.255.0 up

and I'm pretty sure I could add multiples to the ifcfg-vlan1 file but how do I add them from individual config files?

View 9 Replies View Related

Ubuntu Servers :: Apache Multiple Ports Config?

Mar 28, 2010

I have several sites running on a local server. Currently, they're all running on port 80. I need one particular site (and ONLY that site) to also accept connections on port 81.

If I browse to the server IP x.x.x.x:80 directly, Apache's behaviour of showing the default site should work as usual. But, if I browse to IP x.x.x.x:81, it should show a different site (the one that should be accepting both :80 and :81). This part is very important.

I was hoping something like the following would work, but it didn't Currently x.x.x.x:81 still shows what I've called myport80defaultsite.com below.

Code:
Listen 80
Listen 81
<VirtualHost *:80>
ServerName myport80defaultsite.com

[Code].....

View 1 Replies View Related







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