Ubuntu Servers :: Setting Up A Static Ip Through Router?
Sep 23, 2010If not should I just plug up directly into my modem?
View 2 RepliesIf not should I just plug up directly into my modem?
View 2 RepliesI have an old pc that I would like to use as a headless server for my music, files, etc that I can access at work and other places outside of my network. I'm a complete noob in this department so please excuse my overwhelming ignorance. The only thing I've managed to succeed at was installing fedora 13. Two things in particular are giving me trouble: 1.)setting up my router and fedora box so that it has a static ip address and 2.)connecting to the fedora box via vncviewer on my laptop.
HERE ARE SOME QUICK SPECS THE DEVICES INVOVLED:
Fedora Box: Intel Pentium 4 2.66GHz, 1GB ram, Fedora 13
Laptop: Toshiba Satellite A505, Intel Core 2 Duo T6600 2.20GHz, 4GB ram, Windows 7 Home Premium 64-bit
Router: D-Link WBR-1310
ISP: Comcast (cable)
HERE'S WHAT I'VE DONE SO FAR:
Setting Static IP
On the fedora 13 box:
1.)Went to Network Connections and added a new connection
2.)Copied mac address from the default connection
3.)On IPv4 tab, added new address: 192.168.0.200 (this is out of the range which my router will assign automatically) netmask 255.255.255.0, set gateway to 198.168.0.1(router's ip on the network)
When I connect to this new connection web pages don't load, etc. but when I'm on the default connection I have no problems.
Connecting With Vnc Viewer
On the fedora 13 box:
1.)System -> Preferences -> Remote Desktop
2.)Under Sharing I checked "Allow other users to view your desktop" and "Allow other users to control your desktop"
3.)Under Security I unchecked "Ask you for confirmation", checked "Require the user to enter this password", and specified a password
On the router
1.)Set up port forwarding for port 5900, TCP only, to the ip address of the fedora box.
On the laptop
1.)Installed VNCViewer
2.)Went to whatsmyip(dot)org to get ip address of router
3.)Tried to connect to that address, port 5900 (ex. ##.##.##.###::5900)
4.)Connection times out everytime.
I just upgraded to 10.04 and I want to set the static ip address but I can't find where to do it.
View 2 Replies View RelatedOk so I got my server running with apache2. I can access it via the web with my static IP.
I registered on Godaddy for a domain, and sucessfully setup URL forwarding. When I type in that domain it takes me to my website, but the browser shows the IP address again. Should I not be using "URL forwarding"? I'm guessing I have to do something on my server side saying what domain it is but I don't know which file to change and I am scared to touch anything. Although I'm a programmer, I'm not a network person.
So what I want to do is setup a gateway(or router, idk what Ubuntu refers to it as.). So my set up would be Modem>Server>Switch>Router. I know that I need to set up it up as a DHCP server as well. I would also like to setup it up as a firewall too. I already have two Gbit cards that are already configured. So how do I do this? I already tried one tutorial, but it was old and was for Debian. I also installed ebox, but I couldnt figure that out either.
View 1 Replies View RelatedI want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.
As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?
My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?
I am trying to set up SSH so that I can edit files on a home server (linux). I know this question has been asked many times before, but none of the answers seem to apply to me.
Here's my setup. I have the modem connected to a switch (wired) that connects 2 PCs to the internet (one desktop, one server, both wired).
All of the threads I see that discuss static IPs seem to require that I set up a router. Is this necessary? Can I still transfer files through a switch?
My ISP provides my internet via DHCP. I have a home wireless router to provide internet access, wired for my desktop machine and wireless for my laptop. My question is: Is it possible to configure the router (the Access Point) to provide internet to the desktop and the laptop via static IP? Currently I have managed to configure the internet to them via DHCP and it works. I am just curious to know whether it is possible to provide the internet for them by static IPs, given that the internet that actually goes into the Access Point (the wireless home router), is DHCP.I fiddled with this a lot yesterday, but I only managed to get a working configuraton by DHCP for both the desktop and the laptop. If I supply them with static IPs, I can only ping the Access Point, but not beyond it. So does it at all make any sense to try to configure them by static IPs, i.e. is that virtually possible?
View 10 Replies View RelatedFresh install of 10.04.1 server; installs seamlessly; finds network no problem.
However, establishing static connection is driving me batty. Will not take. I've reconfigured "interfaces" file several times. My fingers are numb ifdown-ing and ifup-ing and /etc/init.d/network restart-ing.
I have two files in /etc/network ... interfaces and interfaces~ (one static and the other dhcp). I can switch them in and out of play. The dhcp works and pings out like a champ. static is dead, just dead. Cannot ping router ... nothing.
I am trying to get a Slackware server up and running. I got a static IP working kinda. The computer gets a response when I ping the router but not the internet. Basically it can communicate with other computers on the network but nothing outside of the network. Its not a problem with the router because I have a couple other computer with static IPs. Also the network card works fine as it can get on the internet fine normally.
[Code]....
Well basically the title how to setup a static IP in Ubuntu Server?
View 3 Replies View RelatedI'm running Ubuntu 10.04 and my setup is as follows:
As you can see, I am directly connected to router 192.168.25.1, and so my ip address is 192.168.25.101. I want my ip address to be 192.168.13.101, and make router 192.168.13.1 my gateway router. Is this possible under the current physical layout (I do not want to have to connect directly into 192.168.13.1, but keep my computer where it is at)?
When I run tracepath, it shows 192.168.13.1 is one hop away.
What I've tried:
The problem is under this manual setup, I cannot ping 192.168.13.1 and running command netstat -rn returns the following:
how to set up a static IP from Ubuntu... Secondly, on some of the tutorials I read, there was something about changing the DNS server IP adresses. I do know what a DNS server is (Courtesy of www.howstuffworks.com ) but I don't understand why the DNS servers must be changed simply because I chose to use a static IP address.. (My PC connects to the internet via a router.. )
View 7 Replies View RelatedI am trying to open a tunnel for a friend of mine who's isp has blocked a bunch of webpages, so I was thinking I would learn how to since it might come in handy in the future Anyway, so I looked at a couple of videos about going in to network settings and changing the setting to manual and write down the desired IP (in my case 192.168.0.137). Then I went into my router (it's a D-link DI 524) and tried adding my static IP as the DMZ computer. I then restarted, everything looked fine, the router saved the settings and the eth0 still hade the information saved so I wanted to try it out. I just googled "try my ports" and I found a website called [URL]...But no ports worked for me.. I tried double checking everything, checking for errors. I couldn't find anything so I'm guessing you might have a clue!
EDIT: It seemed I had to have a program that actually used the port for it to work.. It's working anyway, so if you could move it to [SOLVED] I'd be happy
I set up a static IP address yesterday, following the instructions at the top of this page and since my machine no longer connects to the internet (although all other machines are connecting fine, so I know it's a result of this change).
View 6 Replies View RelatedI have a fedora 14 box which has a static IP and I can not contact the internet or even my gateway router.I know it has to do with my kernal IP routing table but I can not find the command to do what I need...Here is my kernal IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
My gateway is 192.168.1.1 and my static IP is 192.168.0.2.
I've been reading for days now, but can't find an example to the following. I have an ubuntu server, with two KVM virtual machines running ubuntu jeos. I want each VM to have it's own static IP, plus one IP for the server. How on earth I do that? do I need to create two bridges, one for each machine? and if so, how do I assign static IP to each?
View 2 Replies View RelatedI tried to setting a static ip from dhcp, I changed lines in /etc/rc.d rc.inet1.conf as follow:
# Config information for eth0:
#IPADDR[0]=""
IPADDR[0]="192.168.18.7"
#NETMASK[0]=""
NETMASK[0]="255.255.255.0"
#USE_DHCP[0]="yes"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
and then I run "/etc/rc.d/rc.inet1 restart"
after that, can't access net, and couldn't ping the gateway[192.168.18.1], I have to change it back
I recently used this process to connect my Samba network to be able to access and allow Windows XP machines to access my computer on my office network.
For various reasons, all the XP computers on the network are set to fixed (do we say static?) IP addresses with manual DNS. Hence I realised during the Samba setup that I had to set a static IP on my Ubuntu machine similar to my Windows static IP's (ie 192.168.10.?) in order to be able to see the Windows share PC's properly.
Once I set my Ubuntu machine to static IP of 192.168.10.3 with subnet of 255.255.255.0 and gateway of 192.168.0.1 then I was able to access and be accessed by PC's on the network. However I couldn't access the internet after this. I input the DNS server in the edit connections as you can see per the attachment. All these settings (except the IP address obviously) were all now exactly the same as the PC machines, and I thought I'd now be able to access the windows network, as well as have access to the internet, however, even though my wired network is connected there is still no internet access.
I'm using the GUI under network connections to make all these changes if that is important. I can't understand why this doesn't work?
I have a linux system which is conencted to a corporate lan and it has internet access to it. But i don think that machine hs any static ip or DNS name. I am able to ssh to that machine within the lan but is it possible to ssh to that machine outside the lan using internet?
View 3 Replies View Relatedhow I can define a local static IP address (so that I can run a web server off of the same IP, rather than letting my router DHCP it)?I've tried doing the YaST->Network Devices->Network Settings->Traditional Method with ifup->Set NIC to desired IP->Set Default Gateway to router address method, and afterwards I can't even get into my router anymore (not even responding to ping).
View 8 Replies View RelatedI'm maintaining a very modest network at home, with OpenSUSE as OS on the server. I got the DHCP and routing working by following the instructions in the wiki. However, every time I run dhclient on the server/router, it appears my own DHCP server assigns an address to the internal network card despite the fact I specifically assigned it to be static using Yast. The situation resolves itself when I restart the network services with the command /etc/init.d/network restart. Otherwise no problem, but it also seems the internal network card gets a "new" IP from my server every time the external card requests one from the ISP. This is more of an issue.
View 5 Replies View Relatedsetting up my ubuntu server I would also like to run ubuntu desktop for the GUI.
setting up the static ip address with a 2wire gateway from att.
My DHCP setting is disabled in fedora 12 . Previously i was using static IP address. I Want DHCP setting enable, any idea.
View 1 Replies View RelatedI tried to setup a Ubuntu Wired Router according to the manual but found a problem.
At the end of the doc page it says:
Code:
The problem though is that I don't have a wireless connection and what do I put at the end?
It says "bridge-ports eth1 wlan0" so should I change that to "eth1" twice or just leave "wlan0" out or how do I fix this?
I am running a web server with a public ip that is dynamic. I am using ZoneEdit.com and my WRT54GS router to manage my dynamic ip address whenever it changes. It is working as it should.
However, the subdomains ip addresses are not changing. It still shows the old addresses versus the new address. Is it possible to set it where my subdomains address will change as well?
Right now on my router under the ddns menu, I have the host name set to domain.com. Do I need to make a wildcard?
I wish to setup my spare PC as a router. I was wondering what programs, in ubuntu, I can use to monitor and change settings concerning bandwidth usage. I want to throttle down a computer in my network so what program would be good for this?
View 1 Replies View RelatedOkay, a few days ago I got a small job setting up a router for a neighbour of mine. He wanted me to set up a wireless network for him. The router he bought is a Linksys Wireless N-Router E1000. I set it up the passwords and everything. Only to find out that I couldn't connect at all to it. The main computer with a direct ethernet connection to the router was the only one that had internet. Everytime I attempt to connect wirelessly with any device, it will take extremely long time to connect, to the point where I will just quit connecting.(Example: 15 minutes of waiting, when the laptop is right next to the router)
Any ideas about what I am doing wrong here? As far as I can think of it might just be a faulty router, because the router will not implement any changes(like setting a password) I set on it. Only wired connections seem to work. the router is called a linksys wirless N-router E1000.
I am setting up a cron job on my DD-WRT router to execute a WOL command, and would like to know if what I have is correct.
Format:
Execute @ 12:00 on Wed, Thur, Fri, Sat every month/Yr
0 12 * * 2345 root /usr/sbin/wol -i 192.168.1.255 00:00:00:00:00:00
World of Warcraft requires that TCP Ports 1119, 1120 and 3724 are forwarded. The Blizzard Downloader requires that TCP ports 3724, 1119, 4000, 6112, 6113 and 6114 are forwarded. It can also benefit from having ports 6881 through 6999 forwarded. The World of Warcraft Voice Chat feature uses UDP Port 3724.
i use the hotspot feature to play warcraft and i am running ubuntu 10.10 ... i need to forward these ports ... any way to easily download an app to configure the phone like you would a router? its probably easy i just cant find it.