Using IPRoute2

Hi everybody.
I have installed two VMware on my openSUSE 11.1 OS. So now I have three machines including my real machine. I want to use one of these machines as a router and send packets from one machine to another via this router. How can I use IPRoute2 or Netfilter to get bandwidth of users or IP addresses that are passing accross the router ?
thanx a lot.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dupe.

On 03/31/2010 03:26 AM, -Morteza- wrote:
>
> Hi everybody.
> I have installed two VMware on my openSUSE 11.1 OS. So now I have three
> machines including my real machine. I want to use one of these machines
> as a router and send packets from one machine to another via this
> router. How can I use IPRoute2 or Netfilter to get bandwidth of users or
> IP addresses that are passing accross the router ?
> thanx a lot.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLszSyAAoJEF+XTK08PnB50dEQALehzB7w3ymCxgPoWh4trSQD
sxlI7aePTtiMB26buhr0DC+XnYVipIgoAeebkG6bX3eozrid0bXMraQjZW8qfS8z
rrr6YlucHmI66hRn6iFLp+VELLi+Eblvo58WDl9E/pf++CVGb+d3IWCCuwBVqMtw
38IYqVCJ8FULvaoY3hiI/iGy//x5vQ70M7UTjgZqpgAqPAmoq6+R9w0C5xjO3kn2
1kt/BwVQoSTMYyn+EEhlo11dBwXP8Ca1o4wqE8dFyDIODHEjBL/BpiHhHgXmZv9m
0cIARFJeJiJ/BGI9ViDQSGUXjbJpHWmhJ3qn+MC8hMpPpvGWAnfsCMMvvV88PEhM
8d3VPxbY8YKNnc0ppfcBNBPu0y02Nm7OnVor+EoyumOMGYW2Wy2q//d37d5iceAT
OH936sYzaYmzO/4maaYGdcWvJ1UAnQ+G/C7NE4CCP3tR6TSjdkUL79lmnu4pKUwS
uHy+VtTIttQvMKkJx58ybzqSc/jrlbwr/9yb3y6m0N8VsdBBdLKj2rHaxgF0VDVf
oXDtBApUrXynM+9RFj2OnRQqIwXo4SyXTYIOsBwspgCHgRtrtn9lKRGtLy46vl+3
hgzQtk2YIb+rcBo8vdjorwB5NeQ1lwcO4LMuig+i5619W0pRGovw5AEORQoiEnhk
VQ0jWm2CQqCsLtLUpI9Q
=NFCR
-----END PGP SIGNATURE-----

Sorry, But I didn’t get your answer !

Can’t anybody help me ?? :frowning:

On 03/31/2010 12:26 PM, -Morteza- wrote:
>
> Hi everybody.
> I have installed two VMware on my openSUSE 11.1 OS. So now I have three
> machines including my real machine. I want to use one of these machines
> as a router and send packets from one machine to another via this
> router. How can I use IPRoute2 or Netfilter to get bandwidth of users or
> IP addresses that are passing accross the router ?
> thanx a lot.
>
>

You configure your VMware server’s network to NAT.
This option is asked when you run the install script.

Then your guest machines (the virtual ones) are in the same subnet with
the host and also with each other.

The host acts as a DHCP server for the guests and router in the subnet.

To make this happen run the setup script and answer to the networking
questions the way you want it.

Then set up yhe networking in the guests with DHCP.

Vahis

http://waxborg.servepics.com
openSUSE 11.2 (x86_64) 2.6.31.12-0.2-default
20:58pm up 8 days 0:16, 14 users, load average: 1.20, 0.94, 0.79

Thanx a lot. I’ll try it.