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


ADVERTISEMENT

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 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

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

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 :: 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

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

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

Networking :: Unable Virtual Hosting And Run It On A Local Machine Without Fqdn?

Jul 27, 2011

I am a newbie trying to enable virtual hosting and run it on a local machine without fqdn. I checked the http://9.9.9.92/ (my IP address) site and saw my (default) page. I would like to virtuly host a asdf.com If virtualy hosting is setup properly - how do I access the new setup? Just type http://asdf.com ? or is there more to it?

View 6 Replies View Related

OpenSUSE Network :: Outgoing Traffic When Using Virtual Interfaces Changed In OS 11.4

Jun 9, 2011

There is a big problem with opensuse 11.4 and virtual interfaces.Until 11.2 outgoing traffic by default was sent by the eth0 address nevertheless which virtual interfaces did exist if any was used.Now there seems to be sent by the last interface listed with ifconfig.The outgoing address in this case will be 10.0.0.3.This is very problematic with smtp control etc.

View 1 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

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

Networking :: PPTP Setup: Put Remote Clients Into A "virtual" Local Network?

Feb 7, 2009

I have a Slicehost VPS and I'm trying to set up PPTPD on it. I only have one IP address (the public IP of the box). All the PPTPD howto's I've seen rely on assigning remote clients IPs from the local subnet (e.g. the PPTD server's local IP is 192.168.0.20, and remote IPs are taken from a pool of 192.168.0.30-40).

However I don't think I can do that as I only have the one IP address on Slicehost's network - that public IP (and all other IPs in the segment are public). So what I really want to do is to be able to create a private LAN segment or virtual network adapter and have VPN clients assigned addresses in that segment, then routed out onto the Internet effectively using the PPTPD box as a router. I am using Ubuntu Hardy (LTS).

View 2 Replies View Related

General :: Virtual Interface Usage - Two Ethernet Ports

Jun 28, 2010

I need to ask about Virtual Interface, as I need to use my ethernet interface to act as two ethernet ports. As I need to give eth0 an IP address and give eth0.5 another ip address, and make some natting and other issues. Can I do that with the same interface?

View 3 Replies View Related

Security :: IPtables Firewall Settings With Virtual Interface

Aug 12, 2010

I have a server with 14 IP's on eth0. I'm using virtual interfaces to handle the IP's, but the iptables don't seem to work on the virtual interface. It blocks ports that I want open. I'm not that great with iptables, I use what I have because it works for me, but as far as tweaking it, I'm pretty lost.

My iptables:
# Simple Firewall configuration
#
# Set default policies --------
*filter
:INPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
#
# Internal Networks -----------
#-A INPUT -s <private.class.C>/24 -d <private.class.C>/24 -i eth1 -j ACCEPT
#
# Loopback --------------------
-A INPUT -s 0/0 -d 0/0 -i lo -j ACCEPT
#
# Accept established connections
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
#
# Services --------------------
#
# For SSH gateway
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 22 -m state --state NEW -j ACCEPT
#
# For SMTP gateway
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 25 -m state --state NEW -j ACCEPT
#
# For FTP server
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 20 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 21 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 53 -m state --state NEW -j ACCEPT
#
# HTTP services
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 80 -m state --state NEW -j ACCEPT
#
# HTTPS services
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 443 -m state --state NEW -j ACCEPT
#
# POP-3 services
#-A INPUT -p tcp -s 0/0 -d 0/0 --dport 110 -m state --state NEW -j ACCEPT
#
# IMAP services
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 143 -m state --state NEW -j ACCEPT
#
#PLESK
#-A INPUT -p tcp -s 0/0 -d 0/0 --dport 8443 -m state --state NEW -j ACCEPT
#
#Games
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 28960 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 28960 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 27666 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 27666 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 28961 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 28961 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 28962 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 28962 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 27015 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 27015 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 27016 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 27016 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 27017 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 27017 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -s 0/0 -d 0/0 --dport 27020 -m state --state NEW -j ACCEPT
-A INPUT -p udp -s 0/0 -d 0/0 --dport 27020 -m state --state NEW -j ACCEPT

# Disallow fragmented packets
-A INPUT -f -j DROP
#
# Log & Block broadcast packets
-A INPUT -d 255.255.255.255/0.0.0.255 -j LOG
-A INPUT -d 255.255.255.255/0.0.0.255 -j DROP
# Log & Block multicast packets
-A INPUT -d 224.0.0.1 -j LOG
-A INPUT -d 224.0.0.1 -j DROP
#
# Log and drop all other incoming packets
-A INPUT -j LOG
-A INPUT -j DROP
#
COMMIT

View 18 Replies View Related

Server :: Heartbeat Not Assigning Virtual IP For Interface Eth0

Jul 19, 2010

I have followed th given site for HA configuration in my virtualbox but heartbeat is not assigning virtual IP for interface eth0 [URL]...

View 1 Replies View Related

Server :: Postfix Management Web Interface For Virtual Mailboxes

Nov 7, 2010

I'm looking for a Postfix Management Web interface for user, domains, etc... The problem is I'm not using mysql for domains/users, so I can't use postfixadmin. I use virtual mailboxes as described here: [URL]

Basically all mappings are saved inside an /etc/postfix/vmaps file. The users/passwords files are in /home/vmail/passwd and /home/vmail/shadow. Users are in /home/vmail/$domain/$user

I searched for a web management tool that supports my config for weeks now, and can't seem to find any...

View 7 Replies View Related

Ubuntu :: Setup A Non-local Virtual Desktop?

Feb 14, 2011

I've never even set up a virtual desktop on Windows so I'm not sure where to start. I noticed that there's a menu in Ubuntu to set this up, but I followed the instructions (can't remember what they were off hand) and it said that the computer was only accessible through a LAN. I want to leave the Ubuntu machine (my laptop) at home and be able to access it through my desktop (Win7) in college (long story but I don't think that matters). It's possible to do this, right? How would it be done? I understand that LogMeIn doesn't work with Linux, so I'm guessing I have to use Ubuntu's default virtual desktop program and a Windows program like TightVNC, but I'm not sure how to make the laptop accessible from something other than a local network.

View 4 Replies View Related

Ubuntu :: How Is Possible To Enable Unity Interface On Desktop Computer With Virtual-box

Nov 27, 2010

How is possible to enable the Unity interface on a desktop computer with virtual-box? i tried it but it runs like the desktop interface, i didnt notice any difference between the desktop mode.

View 9 Replies View Related

General :: Virtual Interface Eth0 1 Disable At Boot Time

Feb 10, 2010

I have set 'ONBOOT=no' in interface script '/etc/sysconfig/network-scripts/ifcfg-eth0:2' but my interface bring up at boot time, what is the problem , I have checked it 3 or 4 diff os/machine but the same issue. Can anyone please help me to disable virtual IP's at boot time that network script make it up every boot time.

View 4 Replies View Related

Server :: Apache Virtual Host To Limit The Concurrent Connections Of Virtual Hosts?

Jul 3, 2009

apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.

View 1 Replies View Related

Hardware :: Lm-sensors Acpitz-virtual-0 Adapter - Virtual Device Temp1 ?

Aug 23, 2009

I have spent considerable hours searching forums and googling. I have yet to find out what "lm-sensors acpitz-virtual-0 Adapter: Virtual device temp1:" is actually looking at. I have an Abit IP35 motherboard with Ubuntu 9.04 installed.

Here is the output from sensors:

Virtual Device Temp 1 keeps going up to 121 degrees and the computer shuts down. None of the others overheat. Also, my bios does not show my voltages to be set like it lists above. The bios in the motherboard is the latest from Abit.

View 9 Replies View Related

General :: Create And Configure A Virtual SAN Disk And Work On It With Virtual Machines?

Jun 29, 2010

I would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.

View 7 Replies View Related

Server :: Debian Lenny - All Virtual Hosts Lead To First Virtual Host

Apr 21, 2010

I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.

First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)

Code:

Second virtual host file

Code:

And my hosts file

Code:

# The following lines are desirable for IPv6 capable hosts

Also I'm using a dyndns.org...would that make a difference?

View 2 Replies View Related

OpenSUSE :: Virtual Box VM Windows XP Virtual-machine Files To Another Computer?

Aug 14, 2010

Can I copy my virtual box VM windows XP virtual-machine files to another Linux computer and run the machine on that computer while I keep on running it on the original computer?

This question is about technical possibilities, not licences.

View 2 Replies View Related







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