Networking :: Separate Hardware Address On Virtual Interface?

Oct 30, 2010

how to do a virtual interface under linux. I'm using for example eth0:1 so ifconfig eth0:1 192.168.0.20 netmask 255.255.255.0 for example.

However if i do eth0:1 hw ether 00:11:22:33:44:55 It changes eth0 as well. Where should i look into for creating a separate virtual interface that's simply bridged with one of the existing interfaces that has a separate ip and hw address that the os handles.

View 1 Replies


ADVERTISEMENT

Networking :: Outgoing Local Trafic Over Virtual Interface Has Not Virtual Ip Address

Aug 25, 2009

When I create virtual ethernet interface and do a ping -I <v_int> <host> the outgoing address is the one of the physical interface and NOT the virtual interface.Is there no chance that trafic will go out with virtual interface address??Incoming trafic is done well i.e. responds to the virtual interface have the virtual address.

My problem is that I have 2 modems and want to check both default gw behind the modems.
If I do a "normal" ping both are reachable over default route even the modem which is not the default route will not work because ping goes over the working modem.So I have 2 routing tables and want to route the virtual interface to one modem the other to the other modem

View 3 Replies View Related

Ubuntu Networking :: Assign An IPv6 Address To Separate Users?

Apr 15, 2011

I have an Ubuntu 10.04 server/router with IPv6 internet connectivity (I have an internet routable /64 subnet). Since I have this abundance of IPv6 addresses I wanted to try and assign v6 addresses to specific users on the local system. I've been looking at ip6tables with packet mangling but I don't seem to be able to find out how to do this or if this is even possible.

Current configuration: eth0: Local network, has the /64 IPv6 public range active and the IPv4 LAN range. tun0: 6in4 tunnel with a ISP assigned public v6 address. eth1: Standard IPv4 internet connection.

All users on my system use the v6 address configured on tun0. I want to force them to use the /64 range which is configured on eth0. If I can force users to use a specific v6 address, I'll configure more then one v6 address on this interface based on the users userID on the system.

View 2 Replies View Related

Networking :: Getting Default Gateway Ip Address On Interface From ISP

May 4, 2011

Im trying to achieve the multiple uplinks/provider found on LARTC.org. I have to get the IP addresses from my interfaces (EF1 and EF2) by using a script, but i dont know where to look at for the default gateway from each interface which got their ip address from my ISP.

View 1 Replies View Related

Networking :: IPV6 Address Appearing On Interface

Nov 22, 2010

When I do ifconfig than IPv6 address is appearing on an interface. However when I run the system-config-network and select to edit same interface than it shows the normal ip4 192.168.1.x address. Why is it like that? ipv4 at one place and ipv6 at other?

View 3 Replies View Related

Networking :: Assign A Private IP Address To The Same Interface?

May 15, 2011

I recently just upgraded from humble Linux user to confused Linux admin of my own virtual Linux server. When I issue the ifconfig command I get following output.

Code:

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:1.2.3.4 P-t-P:1.2.3.4 Bcast:1.2.3.4 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

The WAN IP of the interface is not really 1.2.3.4 I just changed that IP for security reasons.What I am trying to figure out, is it possible to assign a private IP address to the same interface or can I only have one IP address per interface. I understand I have a mask of /32 so I am not going to be able to subnet the address to create any more addresses, so I assume I am stuck with the WAN IP (public IP) that I have, and just need to deal with it.

The reason I ask this is because I have been reading through several DNS/BIND tutorials/walk-throughs, and a lot of them specify setting up a intranet access with 192.168.1.1 address for the local DNS server, but since I am connecting to the sever via SSH I figure I do not need a private IP address.

View 5 Replies View Related

Networking :: Cannot Ping Virtual Interface On WAN Card

Feb 1, 2010

I have an ubuntu server that I am using as a gateway router. I have 2 nics in the machine and am using iptables to run the NAT.I now have a need to provide several machines on the inside of the network with their own public IP. So I created a virtual interface on the the WAN card and attempted a 1:1 nat across it, but it's not working. The virtual interface isn't even responding to pings. If I ping the ip of the virtual interface from the outside, it doesn't work. If I run a tcpdump on the interface, I can see ICMP request packets but no replies. Watching the same dump while pinging the non-virtual interface IP results in both request and reply packets. What's stranger the inbound ICMP request packets on the virtual interface seem to be hit or miss. Sometimes when I ping it, I can see the request packets hitting the interface, sometimes I get nothing.

View 1 Replies View Related

Networking :: CentOS 5.5 And Virtual Interface Configuration

Jun 17, 2011

I have a webserver with 3 virtual interfaces named eth0:1 eth0:3 and eth0:3. Until yesterday all the virtual ip's worked but eth0:1 decided that it just won't work anymore since yesterday. The configs are:

eth0
Code:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=xx.xxx.26.190
NETWORK=xx.xxx.26.160
NETMASK=255.255.255.224
IPADDR=xx.xxx.26.174
GATEWAY=xx.xxx.26.161

eth0:1
Code:
MTU=""
NETMASK=255.255.255.224
ONPARENT=yes
BROADCAST=xx.xxx.26.191
BOOTPROTO=none
NAME=""
IPADDR=xx.xxx.26.175
NETWORK=xx.xxx.26.160
ONBOOT=yes
DEVICE=eth0:1

eth0:3
Code:
MTU=""
NETMASK=255.255.255.224
ONPARENT=yes
BROADCAST=xx.xxx.26.191
BOOTPROTO=none
NAME=""
IPADDR=xx.xxx.26.182
NETWORK=xx.xxx.26.160
ONBOOT=yes
DEVICE=eth0:3

eth0:4
Code:
MTU=""
NETMASK=255.255.255.224
ONPARENT=yes
BROADCAST=xx.xxx.26.191
BOOTPROTO=none
NAME=""
IPADDR=xx.xxx.26.187
NETWORK=xx.xxx.26.160
ONBOOT=yes
DEVICE=eth0:4

route-eth0
Code:
ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=xx.xxx.26.161
eth0:3 and eth0:4 still work, but 2 doesn't

View 4 Replies View Related

Ubuntu Networking :: /etc/network/interface Address Not Recognized

Jun 18, 2010

Showing my ignorance, but why would this work

address 172.16.1.8
netmask 255.255.254.0
network 172.16.1.0
broadcast 172.16.2.255

[Code]....

Notice the 2 in address. Seems to me it doesn't like the network and wants it to be 172.16.0.0, but I am adding to a network already configured this way.

View 1 Replies View Related

Fedora Networking :: Virtual Interface Fails After Reboot?

Jul 1, 2009

I am applying a virtual interface (eth0:0) which is failing after the system reboots. It actually cause the default interface (eth0) to fail as well, I must manually go in and remove the configuration for the eth:0:0 and restart the network to get it running again. How do I successfully add a Virtual interface to Fedora 11 that will stick when rebooted.

eth0: 192.168.0.200, 255.255.255.0, 192.168.0.1, BROADCAST: 192.168.99.255
eth0:0 192.168.0.98, 255.255.255.0, 192.168.0.1, BROADCAST: 192.168.99.255

View 1 Replies View Related

Fedora Networking :: Recover Eeprom Network Interface MAC Address?

Mar 9, 2009

Someone just erased my HWADDR line from /etc/sysconfig/network-scripts/ifcfg-eth0. How can I obtain my original MAC address?

Code:

ifconfig eth0 does not work (it shows the wrong MAC address) since the HWADDR line from the file I mentioned above was erased. Also there is no ifcfg-eth0.bak backup configuration file.

View 2 Replies View Related

Fedora Networking :: Setup DHCP Server Via Virtual Interface?

Mar 10, 2009

is it possible to setup a DHCP server using the loopback or a virtual interface? I installed Sun VirtualBox on my fedora system and want to try and kickstart them from within the same box on a virtual network. Is this possible and has anyone done it? I only have a single NIC in the box and it is on my public network.

View 1 Replies View Related

Networking :: Virtual Interface Routing For Clients And Rate Limitations?

Jul 14, 2010

I need to make some solution for my home network, I have a linux server which is: Linux Centos 5.5. So, what I need to do is to make a virtual interface for my clients which set its bandwidth up to 1Mb/s shared to them, but my real bandwidth is 2Mb/s. Also, after that, I have two questions:

1. How to set this rate limitation to that interface?
2. How to edit this interface to let it work and route the client data to my ADSL router?

I'm already generate the virtual interface using webmin managment tool, so I need to set its rate and route data.

View 14 Replies View Related

Ubuntu Networking :: Samba With Bridge Interface / Cannot Assign Requested Address?

Sep 17, 2010

I have two network interfaces in my pc eth0 and wlan0 and a virtual one br0.

router <= eth0 (0.0.0.0) => br0 (192.168.1.10) <= wlan0 (0.0.0.0) => other pc.

On startup of my pc (ubuntu 10.04 server x64), samba bind itself only to loopback network interface, as i can see when i do netstat -an , preventing me to enter in my shares from a remote pc.

Here is my configuration regarding samba network:

Code:
interfaces = 127.0.0.0/8 192.168.1.0/24
bind interfaces only = yes
and my /etc/network/interface
Code:
# The loopback network interface
auto lo
iface lo inet loopback
code....

Any idea fo speed up my bridge configuration or to force samba to wait unitl the bridge is ready?

View 1 Replies View Related

Networking :: Redhat Lost It's Virtual IP Address?

Nov 1, 2010

had a box lose it's virtual IP address on the eth0 card. I rebooted the box but it just would not give the card the second IP address. We rebooted several times in fact.Today admin ran 'ifup ifcfg-eth0:1' and the virtual IP was there. Nothing was changed, just that command was ran.I thought there might be a problem with the automagical stuff so I rebooted the box again, virtual IP is there and happy.Anyone know why it would not have come back on reboot and why it now does?

View 7 Replies View Related

Red Hat :: Add IPs To A Network Interface As Virtual Interface Like Eth0:0?

Apr 14, 2011

I found multiple sites explaining how to add IPs to a network interface as virtual interface like eth0:0. However I can add IPs to an interface as well using the ip command: ip a a 192.168.2.2/24 dev eth0 What I want to know is how I can make this persistent on rhel/centos.

View 2 Replies View Related

Networking :: Virtual Network Adapter With Multiple Mac Address

Nov 10, 2010

Is it possible to create virtual network adapter on the same physical network adapter? or How to give or have multiple MAC Address to the same adpater? I m working on centos 5.3.

View 6 Replies View Related

Programming :: Physical Versus Virtual Mac Address And Mac Address From NIC's Firmware?

Apr 6, 2011

I need a small shell based program that prints the mac address of physical ethernet adapter from it's firmware. I need this utility for license generation and appliance activation. I have tried several example but none of them is flawless, The easiest method I have found is to parse the output of "ifconfig" command but it has also some drawbacks.

1. Firstly program should differentiate between physical and virtual adapters. Physical means installed on board(wired or wireless) or installed additionally. Virtual adapters are those created by VPN or created by virtualization apps such as VirtualBox/VMWare etc. I am not interested in virtual ones.

2. In case of more them one physical adapters(wired and wireless), it should print the mac address and description(name & vendor) of both/all adapters.

3. If media is disconnected then also it should be able to read the mac address and description(name, vendor) of card.

4. This one is bit complex. I know that 'ethtool' can show you the universal mac address but it's limited to use only 2 types of drivers and won't work in all cases.

View 2 Replies View Related

Programming :: Translate Virtual Address To Physical Address In Application?

Nov 18, 2009

I want to translate the virtual address to physical address in linux C application, how to do that?

View 1 Replies View Related

General :: Virtual Memory Address To Physical Address?

Apr 13, 2010

How can I get the physical address corresponding to a virtual address in linux by using /proc file system

View 1 Replies View Related

Ubuntu Networking :: Configuration For "virtual" Network Interface

Jul 19, 2011

I'm having difficulty setting up my desired network infrastructure. Here's the situation:

I'm currently using an Ubuntu box as homeserver to do everything from sharing internet (via NAT), over DHCP & DNS to filesharing and even virtualisation.

However, since my machine is capable of virtualising Astaro Security Gateway properly, I would like to transfer and split up responsibilities.

I want to have my Astaro fully responsible for the internet and act as the gateway, and along with that disconnect my physical box from the internet and put it behind Astaro (basically making it just a member of the internal network).

The difficulty I'm having with this is that Astaro is running virtually on the physical box, and I can't seem to figure out how to configure the external interface. It needs to be up for Astaro to be able to use it, but it should not give the physical machine access to the external network.

I'm thinking I could set it to manual and not give it an ip address, but I'm not sure on this.

View 3 Replies View Related

Debian Configuration :: Separate Virtual Desktops On Dual Monitors?

Jul 19, 2011

I have a ThinkPad W520 with nVidia Quadro 1000M and Nouveau drivers. I use external monitor with extended desktop using XRandR. My beef with this setup is that I get just one virtual desktop of a (1440+1920)x1080 size whereas what I would like to have is being able to have one separate (set of) virtual desktop(s) on my 1440x1080 external monitor with, for example, some reference material open, while have other programs working on another (set of) virtual desktop(s) on my main 1920x1080 screen. I've read that this might be possible with so called zaphod mode, but it looks like it involves static rules in xorg.conf which I would like to avoid since from time to time I need to carry my laptop with me without external monitor.

View 5 Replies View Related

Server :: Separate SSL Sites For Multiple IP / Name Based Virtual Hosts?

Feb 15, 2011

I have set up a SSL site for my default Apache server. But I want to set up multiple SSL sites for multiple IP based as well as Name based Virtual hosts. Is there a way where in I can include definitions for SSL certificates and keys within the Virtual Host directive in the httpd.conf, so that I can specify separate key and cert file for every Virtual Host.

View 11 Replies View Related

Ubuntu Servers :: Apache2: SNI & Virtual Hosts - Multiple Virtual Hosts With Ssl And Only 1 Ip Address

Jan 17, 2011

[Code]....

What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129

[Code]....

View 9 Replies View Related

Ubuntu :: Separate Virtual Host To List And Display All Contents In /var/lib/php5?

Apr 3, 2011

I have an ubuntu 8.04 server running a couple of web sites using virtual hosts , apache2, mysql and php. I have noticed that by default php sessions are created in /var/lib/php5 and all stored in plain text.

I have quickly created a php script in a separate virtual host to list and display all contents in /var/lib/php5 , and it seems incredibly easy to see what details the other accounts are storing in sessions.

View 1 Replies View Related

General :: Pros And Cons Of Virtual Hosting Versus Separate Machine

Feb 9, 2011

I am having vitural hosting around three websites using Centos. I need to type in the full domain name include www to enter the 2 of the vitural hosting sites. Pros and Cons of vitural hosting vs separate machine? I got a questions about static IP. Assume I having a linksys router with port forwarding function, I have three seperate machines with different private address connect to the same linksys router. Can I entry all private address forward to port 80? Does it work? If I insist to host website on three machines, does that mean I need 3 static IP and 3 linksys router? I got two conventional web services only showing information but one got mysql db for user to input data, thats why I asking if it is good idea to seperate web page on different machines.

View 14 Replies View Related

Ubuntu Servers :: Separate Virtual Machines For Apache, Mysql, File Server?

Jul 11, 2011

I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?

View 9 Replies View Related

CentOS 5 Networking :: Kernel Rpm Install After Error "Bringing Up Interface Eth0: Device Eth0 Has Different MAC Address Than Expected, Ignoring"

Dec 26, 2010

i install kernel rpm after i boot that kernel network not working kernel name : kernel-rt-trace-2.6.24.7-132.el5.centos.i686 [URL] error "Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring."

View 1 Replies View Related

General :: Clear IP Address Of Ethernet Interface?

Jun 17, 2010

What is the Linux command to clear IP address of an interface without bringing it down and/or restarting network services. Seems strange ifconfig is able to change IP address but has no option to clear it, or am I wrong?

EDIT:As simple as ifconfig eth0 0.0.0.0. They should have put it in the man

View 3 Replies View Related

General :: Get Ppp Interface Gateway Address In Debain 6

Jun 10, 2011

I am using debain 6 and using a Sierra modem c888 to connect internet. I am using wvdial package for connecting the modem. I am able to connect internet. The question I have is, how do get the gateway address of the newly created ppp0 interface?

View 1 Replies View Related







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