RBVM Networking: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
* '''Default Gateway:''' 136.206.16.254
* '''Default Gateway:''' 136.206.16.254
* '''DNS Server:''' 136.206.16.254
* '''DNS Server:''' 136.206.16.254
* '''Time Server:''' 136.206.16.254


== Proxy Access ==
== Proxy Access ==
Line 10: Line 11:
=== Ubuntu ===
=== Ubuntu ===


To make sure all your networking software uses the above proxy server, you need to add a file to /etc/apt/apt.conf.d/ and put the details into it. Here's how you do it:
To make sure apt uses the above proxy server, you need to add a file to /etc/apt/apt.conf.d/ and put the details into it. Here's how you do it:


   ~> cd /etc/apt/apt.conf.d
   ~> cd /etc/apt/apt.conf.d
Line 19: Line 20:
In this new file (proxy), type the following:
In this new file (proxy), type the following:


   Acquire::http::Proxy "http://'''USERNAME''':'''PASSWORD'''@proxy.vmsrv.redbrick.dcu.ie:3128";
   Acquire::http::Proxy "http://proxy.vmsrv.redbrick.dcu.ie:3128";


Where USERNAME and PASSWORD are your RedBrick username and password (not your VM ones). Hit Ctrl-x, then "y" to save the details.
Hit Ctrl-x, then "y" to save the details.
 
----
 
 
To set your proxy system-wide you will need to edit you shellrc file. By default this is .bashrc on Ubuntu. Here's how you do it:
 
  ~> cd $HOME
  ~> nano .bashrc
 
Add the following lines to end of this file
 
  export http_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128";
  export https_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128";
  export ftp_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128";
 
Hit Ctrl-x, then "y" to save the details.
 
Then you will need to logout and log back in for changes to take effect or you can run this command.
 
  ~> source .bashrc


And that's it. Simples.
And that's it. Simples.

Latest revision as of 16:04, 12 July 2011

  • IP Address: Each VM has it's own assigned address in the 136.206.16.0/24 subnet.
  • Subnet Mask: 255.255.255.0
  • Default Gateway: 136.206.16.254
  • DNS Server: 136.206.16.254
  • Time Server: 136.206.16.254

Proxy Access

All outbound http(s) traffic must go through the proxy - proxy.vmsrv.redbrick.dcu.ie (136.206.16.254) port 3128

Ubuntu

To make sure apt uses the above proxy server, you need to add a file to /etc/apt/apt.conf.d/ and put the details into it. Here's how you do it:

 ~> cd /etc/apt/apt.conf.d
 ~> sudo nano proxy

You'll be asked to enter your VM password at this point, before nano starts.

In this new file (proxy), type the following:

 Acquire::http::Proxy "http://proxy.vmsrv.redbrick.dcu.ie:3128";

Hit Ctrl-x, then "y" to save the details.



To set your proxy system-wide you will need to edit you shellrc file. By default this is .bashrc on Ubuntu. Here's how you do it:

 ~> cd $HOME
 ~> nano .bashrc

Add the following lines to end of this file

 export http_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128";
 export https_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128";
 export ftp_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128";

Hit Ctrl-x, then "y" to save the details.

Then you will need to logout and log back in for changes to take effect or you can run this command.

 ~> source .bashrc

And that's it. Simples.

Email

Outbound email may be routed through mailhost.vmsrv.redbrick.dcu.ie (136.206.16.254). Inbound email can not be accepted. For more information see the documentation on configuring exim to send mail from your vm

SSH

You can ssh to and from your vm from minerva


Documentation IntroVNCISO BootNetworkSSHHardware quirks
Operating Systems LinuxBSDSolaris
Code Bugssource