Networking :: NAT On Virtual IP Doens't Work?

Jan 21, 2010

We have the following school project that I can't seems to make correctly:We need to make a whole subnet communicate with the internet through another subnet's gateway using iptables, with a difficulty option, only 1 NIC.I know its seems complicated, but it's not that bad. Please keep reading and let me explain.Let's say we have subnet (number 1) = 10.1.2.0/24, gateway 10.1.2.1.I have another subnet (number 2)= 192.168.1.0/24, gateway192.168.1.1Subnet 1's (10.1.2.1) gateway doesnt have a WAN connection.Subnet 2's (192.168.1.1) does.Which means all 192.168.1.XXX can communicate with internet, while all 10.1.2.XXX cannot.Not, the goal of the project is to give 10.1.2.1 a possibility to NAT packet comming fomr it's subnet to 192.168.3.1, so the subnet 10.1.2.XX will have access to the internet.

Now, since 10.1.2.1 (the gateway) only have 1 NIC, we make it hold virtual IPs.eth0:0 = 192.168.1.35 (static)eth0:1 = 10.1.2.1 (static, begin the 10.1.2.0/24 gateway)The routes are OK and I can ping correctly on both subnet.I can even ping the internet from eth0:0 !! (192.168.1.35)I tought using the following iptables command from the 10.1.2.1's machine would do the trick:iptables -t nat -A POSTROUTING -s 10.1.2.0/24 -j SNAT --to-source 192.168.1.35But for some reason, 192.168.1.1 doesnt even receive any packet from it's log, except when it's not NATed (when it comes directly from 192.168.1.35), which let me think the iptables command above doesnt work correctly.

View 3 Replies


ADVERTISEMENT

Debian Hardware :: No DRI/ AIGLX Error / Card Hardware Acceleration Doens't Work?

Jul 6, 2010

I have a ATI Technologies Inc RV530 [Radeon X1600] Card which used to work fine under Squeeze until some weeks ago, after an update in didn't anymore and since I wanted to install to Lenny anyway and did a clean install of Lenny and now the card hardware acceleration doens't work. I followed url.

Since I am using a backports kernel I installed firmware-linux-nonfree from lenny-backports.

% uname -r
2.6.32-bpo.5-amd64
% lspci -v | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc RV530 [Radeon X1600] (prog-if 00 [VGA controller])
xorg.conf
Section "Device"
Identifier  "Device0"
Driver "radeon"
EndSection
code....

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

Ubuntu Networking :: Can't Get Ssh Into A Virtual Machine To Work - Host And Guest

Jan 28, 2010

I'm trying to ssh into a virtual installation of ubuntu I have, named "ubuntu-x86" but I can't get it to work for some reason. I have two network cards, both assigned to NAT, on the virtual machine, but one has a static IP address, while the other uses DHCP. For some reason, the command:

[Code]....

View 7 Replies View Related

Ubuntu :: Doens't Recognize Monitor's Resolution?

Aug 1, 2010

I'm not sure if this is the right category to ask for help but here it goes:I have a laptop with ubuntu 10.04x64 and i have bought recently a samsung xl2370 which has a max resolution of 1080p but the maximum resolution my laptop recognizes is 1440x900 is there any way to solve this?

View 3 Replies View Related

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

OpenSUSE :: Can't Use The RFBD Or Get The Virtual Box To Work?

Jan 26, 2010

I need a Etext reader to help me read my txt books. I can not use the RFBD or get the Virtual box to work! Both tread told me to Not Try! so what is a etext reader for the txtbooks.

View 2 Replies View Related

Fedora Installation :: Cannot Get Wireless To Work In Virtual Box

Aug 31, 2010

I am more used to freebsd. I installed fedora in Virtual Box and tried to get on to the internet but it didn't work.

In the terminal, when issued ifconfig command, it shows eth0 and eth1..... I dont know if the wireless is installed or not.

View 4 Replies View Related

Ubuntu Servers :: Virtual Hosts Don't Work With Any Web?

Jan 21, 2010

I don't know if I'm posting in the right box - I'm new to both Ubuntu and this forum so please bear with me. Thing is, I spent almost 2 days trying to find a web server that meets my likes. I tried like almost every well known web server, be it Apache, Lighttpd, Nginx, and Cherokee, one by one. For each I was successfully in getting PHP up and running, but was never able to configure the virtual hosts.

I'm 99.99% sure that I - for multiple times - followed correctly the online how-to's. Especially Cherokee, I did exactly the screencast (which is just 2 steps, as Cherokee has a GUI for virtual server setups). Strange enough, with each web server the virtual hosts thing never worked for me. I always received "Server not found" error. I tried with Firefox and Google Chrome. Currently I'm on an Ubuntu 9.10 (32bit) box - I reinstalled this one over the 64bit, to vain.

Don't know if it's a problem with my DNS, but I have another machine running Windows 7 with the same DHCP settings (means same DNS and IP range). Virtual hosts work fine there on an XAMPP installation.

View 9 Replies View Related

General :: CentOS Version To Work On Virtual Box?

Mar 11, 2011

Apparently the Xen kernel version doesnt work on Virtual Box. Didn't even know I had that version. All I can see is I386 and x86_64 version. Anyone got any experience with this point with in the direction of the correct ISO to work on a standard PC?

View 5 Replies View Related

OpenSUSE :: Virtual Box Doesn't Work Under Ordinary User

Jul 3, 2011

Virtual Box doesn't work under ordinary user, though this user is in vboxusers group. Under SU it work normally. This happied after upgrage to 4.0.10-8.1 version from obs://build.opensuse.org/Virtualization community repository. In Oss repository there is 4.0.4 version.

Here the massage, that appears after start of Virtual Box under ordinary user: "Failed to create the VirtualBox COM object.

The application will now terminate.
Ditails:
Callee RC:
NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

View 1 Replies View Related

General :: Way To Get Middle-mouse-click To Work In Virtual Machine?

Apr 23, 2010

I'm running Virtualbox on Windows Vista.I have a Microsoft USB mouse (it says "Comfort Optical Mouse 3000") with left and right buttons, and a mousewheel in the middle.If I press down on the wheel, it pretty obviously makes a "click".I'm running Debian inside Virtualbox, and it's working great, but middle-mouse-click does nothing.Left and right click, and scrolling with the wheel, work fine.Is there any way to get middle-mouse-click to work in my virtual machine?

View 2 Replies View Related

General :: Forward Port For IP-Based Virtual Host To Work?

Mar 22, 2010

Having trouble visualising how IP-Based Virtual Host (with SSL) would work. Here is my vhosts.conf file:

Code:
#Define Name Virtal Host
NameVirtualHost 10.10.0.54:80
#Used to replace the main server host. The log file will reside in /var/log/httpd/error_log

[Code]....

How will it work? I will need to forward port 443 to the 10.10.0.55 interface right? Without doing that, there is no way this is going to work... is there? And that means that I can't run more than 1 ip-based SSL virtual host on one machine because I can't forward 443 to two different interfaces.

Also, do I use internal ip address or external ip address in the <VirtualHost > tag? I only have one static public ip.

View 5 Replies View Related

OpenSUSE Network :: Ssh Into Local Virtual Machine - Command Doesn't Work

Jul 18, 2011

I have an appliance called my_appliance.raw. To start the appliance locally, I use:

[code]...

After that I would like to ssh into the guest from the host but just the ssh command doesn't work. firewall is disabled on guest. the ip I use is the one that ifconfig shows when I run it on guest. sshd is running.

View 2 Replies View Related

Ubuntu Servers :: Created A New Virtual Host In Apache Using Webmin - Doesn't Work ?

Nov 14, 2010

I created a new virtual host in Apache using Webmin and am having trouble getting it to work. When I created it, I opted to create the config file as a "New file under virtual servers directory /etc/apache2/sites-available". So now I have a default config file /etc/apache2/sites-available/default and a new one created by Webmin at /etc/apache2/sites-available/webmin.1412323.conf. It seems like the settings in that new Webmin config file aren't being picked up by Apache -- when I try and browse to mywebsite.com it shows my root /var/www folder, not the subdirectory /var/www/mywebsite.

Is there a way I can tell Apache to include the new Webmin config file for the virtual host or should I just copy the directives into the default file at /etc/apache2/sites-available/default? It seems like Webmin should automatically configure Apache to work with any newly generated config files.

View 4 Replies View Related

Networking :: Feasible / Desirable To Setup A Network Of Virtual Machines To Use As An Environment To Learn Networking?

Nov 18, 2010

I've been learning linux for a while now with half an eye on making a career out of it in future. One sizeable gap in my knowledge at the moment is networking. Is it feasible/desirable to set up a network of virtual machines to use as an environment to learn networking? My budget is non-existent so I was hoping to be able to get a basic understanding of the principles from installing a few desktops, a virtual gateway etc on VMware workstation on my laptop, and doing a lot of reading online.

Is this feasible, or will I just end up learning about virtual networks instead of real ones? Also how much power would be required, because my 3GB RAM lappy has just gone bang and all I have now is a (new) 1GB RAM lappy.

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

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

Networking :: How To Connect In Virtual Box?

Jan 23, 2011

I want to connect Fedora 9(laptop-2) to the Fedora 9 GUEST(laptop-1).

1. Which Adapter should I use in VirtualMachine's settings?(Bridged OR Host-only)?
2. How should I do this? i.e. Please tell me the steps.

View 4 Replies View Related

Networking :: Virtual Ips On Same Server?

Jul 20, 2011

I have some webserver that does virtual name servers for sites. I amd having a second ISP put in tomorrow. How do I have one interface and give it two public IP's? I will use two A records on DNS so it will use either A record to find the host.

View 4 Replies View Related

Networking :: Virtual Nics And Nat ?

Apr 25, 2010

My PC has 2 NICs Eth0 has 3 virtual NICs:

My every PC (172.16.1.1 to 172.16.1.4) has installed webmin and listen on port 10000

When browse from LAN http://202.1.2.3:10000 .. it goes to the webmin page of 202.1.2.1 .. why?

This problem ONLY occurs when browse the site from LAN! and it works properly if we access it from Internet.

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

Ubuntu :: Use CTRL-ALT-DELETE On A Virtual Windows Machine On Virtual Box?

Feb 3, 2010

how to use CTRL-ALT-DELETE on a virtual Windows machine on my Virtual Box?

View 2 Replies View Related

Ubuntu :: Auto-start A Virtual Machine In Virtual Box Upon Boot?

Jan 2, 2011

How do I program a virtual machine to auto-start/boot upon boot up of the host system? I am experimenting with SNORT network intrusion detection system and have installed it inside a virtual ubuntu box which I want to start automatically.

View 1 Replies View Related

Security :: Virtual Server To Access The Main Host Or Another Virtual Se

Jan 8, 2010

Is there anyway for one Virtual Server to access the main host, or another Virtual Server? Or would they be totally 100% independent?

View 5 Replies View Related

Server :: Create A Virtual Host And Virtual Ip In Proftpd Centos?

Nov 22, 2010

I want to create a virtual host and virtual ip in proftpd linux centos. can anyone please help me on this,I'm new in linux.

View 8 Replies View Related

Networking :: DNS Lookup Doesn't Work, Ping, Firefox Will Not Work Properly?

Apr 23, 2009

I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.

View 2 Replies View Related

Ubuntu Networking :: How To Created Virtual IP's

Mar 29, 2011

i have one static IP, how can i turn it into multiple IPs so i can run multiple games on one machine.

View 1 Replies View Related

Networking :: Configure Multipathd On Virtual?

Jul 21, 2011

how would I simulate on any virtual environment (VMware/VBox/ KVM/QEmu) setup of SAN, SAN switches and 2 HBA cards connected to the SAN switches so that I can be good at configuring multipathd?

View 1 Replies View Related







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