OpenVZ Forum


Home » General » Support » Academic Networking with OpenVZ
Academic Networking with OpenVZ [message #15023] Tue, 17 July 2007 08:47 Go to next message
alevchuk is currently offline  alevchuk
Messages: 22
Registered: February 2007
Location: University of California,...
Junior Member
Dear Development Team,

I am running
kernel: 2.6.18-8.1.4.el5.028stab035.1
vzctl: 3.0.18
installed via yum on CentOS 4.5

I made the template from a fresh CentOS 5 hardware install.


We are trying to prepare a lab on networking for our Unix Administration class in University of California Riverside.


The assignment is to setup a network with 2 computers, where computer A will route all of it's outgoing packets to computer B, then computer B will forward the packets to the outside.

For that purpose I have a web interface where students can:
  1. Create their own VEs. When created each VE has:
      * One public IP (it shows up in vzlist) 
      * The venet0 network interface 
  2. Get extra IPs (vzctl set VEID --ipadd 192.168.1.X)
  3. Get extra Network Interfaces (vzctl set VEID --netif_add eth0)


The student then supposed to move the extra IP from venet0:1 to eth0.

It has been several attempts now.
We are failing get two VEs to communicate to each other via their eth0's


Can anyone help?

Alex Levchuk

[Updated on: Tue, 17 July 2007 08:48]

Report message to a moderator

Re: Academic Networking with OpenVZ [message #15027 is a reply to message #15023] Tue, 17 July 2007 10:19 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Can you post here the output of

ip r l
ip a l

on the HN and in two VEs you want to communicate.

Thanks,
Vasily.
Re: Academic Networking with OpenVZ [message #15048 is a reply to message #15027] Tue, 17 July 2007 15:30 Go to previous messageGo to next message
alevchuk is currently offline  alevchuk
Messages: 22
Registered: February 2007
Location: University of California,...
Junior Member
Dear Vasily,

Here are the outputs.

Alex
  • Attachment: ve122.txt
    (Size: 0.88KB, Downloaded 303 times)
  • Attachment: ve123.txt
    (Size: 0.88KB, Downloaded 274 times)
  • Attachment: hn.txt
    (Size: 2.16KB, Downloaded 293 times)

[Updated on: Tue, 17 July 2007 16:08]

Report message to a moderator

Re: Academic Networking with OpenVZ [message #15049 is a reply to message #15048] Tue, 17 July 2007 16:09 Go to previous message
alevchuk is currently offline  alevchuk
Messages: 22
Registered: February 2007
Location: University of California,...
Junior Member
ping 192.168.1.31
works from HN
works from VE 122
but form VE 123 it gives:
From 192.168.1.32 icmp_seq=2 Destination Host Unreachable
Previous Topic: *SOLVED* Backup with tar
Next Topic: Network is slow
Goto Forum:
  


Current Time: Wed Jul 10 23:31:21 GMT 2024

Total time taken to generate the page: 0.02517 seconds