Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Ubuntu Server 10.04 LTS - Need some help for several things!
New Posts  All Forums:Forum Nav:

Ubuntu Server 10.04 LTS - Need some help for several things!

post #1 of 3
Thread Starter 
Ok - installed Ubuntu Server 10.04 LTS in a VB (x64) for some learning and to setup some stuff to see if I can make use of it (SSH, Mail server (LAN only), Samba shares, etc. Might do a web server too, not sure yet.

Anyways. So at present the machine is updating, installing a GUI (I'm a noob and will need it for my first time I think, seems like a good idea). Next I'll do apt get-update/upgrade for everything. Then I plan to install Webmin.

Here's where I need help off the bat:

I want to setup this server on a different subnet (say 200 instead of 1) so that my LAN machines are separated from the server (good thing to do right?). I'm not sure what the command is, or how to edit the system files to 'make-it-so'.

Also, I'll be keeping this thread going so I can get more help as my questions arise with this OS.

Thanks a bunch guys!

( edit )

More importantly:

I think I'm asking too much of what I want to setup with limited hardware (network).

My goal is to do this: Setup the server (Ubuntu Server OS) on a different subnet than what my LAN clients are on. I'm under the impression I can't do this with a single router, unless perhaps DD-WRT can do this. My router is not DD-WRT capable but I have access to one that is.

So I had planned to use the VM for learning purposes in a VB VM running on a AMD Windows 7 host system. I'd like the server to run a samba share, maybe a simple web server, mail server (LAN only), and SSH (for external access).

What do I need to make this happen in a VM, and/or, should I start over and load a physical machine with Ubuntu Server OS? thinking.gif
Edited by GanjaSMK - 3/1/12 at 1:07pm
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
post #2 of 3
@OP

As far as the LAN itself is concerned, any switch you're using will be dumb enough not to care (you're using a separate switch, right?). As for the router, many of them can assign more than one local IP address to its LAN side, although many can't. I know my D-Link DSL-2640B cannot, but I'm sure I have a Belkin which can.

The cleanest way to achieve what you want would be to buy a second hand cable router off eBay. Connect it to your workstation's spare Ethernet port and configure the cable router's LAN side to be 192.168.200.1. Connect the cable router's WAN side to your existing router and let it have its WAN addressed via DHCP.

Finally, assign the spare Ethernet port to be exclusive to the Ubuntu Server VM, and assign an address of 192.168.200.2 to the Ubuntu Server VM.


EDIT:

Question: what's the host OS?

Question: Don't you have a DD-WRT router for sale?
Edited by parityboy - 3/2/12 at 6:46am
Ryzen
(12 items)
 
  
CPUMotherboardGraphicsRAM
Ryzen 7 1700 Gigabyte GA-AB350M Gaming 3 Palit GT-430 Corsair Vengeance LPX CMK16GX4M2B3000C15 
Hard DriveCoolingOSMonitor
Samsung 850 EVO AMD Wraith Spire Linux Mint 18.x Dell UltraSharp U2414H 
KeyboardPowerCaseMouse
Dell SK-8185 Thermaltake ToughPower 850W Lian-Li PC-A04B Logitech Trackman Wheel 
  hide details  
Reply
Ryzen
(12 items)
 
  
CPUMotherboardGraphicsRAM
Ryzen 7 1700 Gigabyte GA-AB350M Gaming 3 Palit GT-430 Corsair Vengeance LPX CMK16GX4M2B3000C15 
Hard DriveCoolingOSMonitor
Samsung 850 EVO AMD Wraith Spire Linux Mint 18.x Dell UltraSharp U2414H 
KeyboardPowerCaseMouse
Dell SK-8185 Thermaltake ToughPower 850W Lian-Li PC-A04B Logitech Trackman Wheel 
  hide details  
Reply
post #3 of 3
Thread Starter 
Quote:
Originally Posted by parityboy View Post

@OP

As far as the LAN itself is concerned, any switch you're using will be dumb enough not to care (you're using a separate switch, right?). As for the router, many of them can assign more than one local IP address to its LAN side, although many can't. I know my D-Link DSL-2640B cannot, but I'm sure I have a Belkin which can.

The cleanest way to achieve what you want would be to buy a second hand cable router off eBay. Connect it to your workstation's spare Ethernet port and configure the cable router's LAN side to be 192.168.200.1. Connect the cable router's WAN side to your existing router and let it have its WAN addressed via DHCP.

Finally, assign the spare Ethernet port to be exclusive to the Ubuntu Server VM, and assign an address of 192.168.200.2 to the Ubuntu Server VM.


EDIT:

Question: what's the host OS?

Question: Don't you have a DD-WRT router for sale?

Been out of town or would have gotten back to this sooner. Thanks for the info -

I had pretty much figured I would need to do what you mentioned above with a second router, after trying to get my Netgear to do a second subnet (second LAN ip) and not having the option to do it. So - back to answering what I can..

So the host OS is Win 7 x64 (Pro), and at the moment I'm using freeware VB instead of VMware. Works ok for now. I realize for a permanent solution I'm probably better of with something more robust like VM. I'm also wondering about MS's offerings as I've played with their VM stuff before too, but I don't know if their VM stuff works with Linux OS's. So..

I do have a WRT54G for sale that I could use. Would rather sell it but I can use it if I need.

I'll be working on this more over the next week. I am in no rush to make it happen but I do want to get something up and running so I can give things a go/start learning.

So now, this is where I'm at.

Installed the Xbuntu (might be Lbuntu, can't remember - either way is the light versions of the GUI) GUI on the Ubuntu Server OS (x64) so it would be easier to manage. Although now I think I need to install Webmin for the webserver stuff and I'm hoping that I can find some sort of GUI for other things like Samba and what not. Anyways.

Let me ask this again though - should I just start over with a dedicated machine or will the VB VM be enough to manage something small like I'm trying to setup?
Edited by GanjaSMK - 3/4/12 at 3:34pm
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Ubuntu Server 10.04 LTS - Need some help for several things!