Ubuntu Networking :: Setup A Static IP If Have No Router?

Dec 1, 2010

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?

View 9 Replies


ADVERTISEMENT

Networking :: Network Setup - Router - Wireless Router Card ?

Apr 24, 2010

I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.

Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.

Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).

The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.

Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).

Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.

Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).

My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?

Here is a link to (picture) my network diagram. Network Diagram

View 2 Replies View Related

Ubuntu Networking :: Server: Dhcp - No Static - Cannot Ping Router ?

Dec 9, 2010

Fresh 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.

View 5 Replies View Related

Fedora Networking :: Setting Up Static IP And Vnc Viewer Behind A Router

Oct 19, 2010

I 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.

View 5 Replies View Related

Networking :: Hold Static Ip Address From A Different Gateway Router ?

Jul 6, 2010

I'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:

View 2 Replies View Related

Fedora Networking :: Static IP Cannot Contact The Internet Or Even Gateway Router?

Jul 29, 2011

I 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.

View 3 Replies View Related

Fedora Networking :: How To Setup Static Ip On 14

Jan 27, 2011

i was trying to setup a static ip in order to forward ports but with no luck. I need to setup these:

- IP address: 192.168.1.2
- Subnet mask: 255.255.255.0
- Default gateway: 192.168.1.1
- Preferred DNS Server: 192.168.1.1

View 5 Replies View Related

Networking :: Static Network Setup?

Aug 16, 2010

I have a fresh install of Centos 5.x and I'm having issues on setting up the network...i know i have to edit/etc/sysconfig/network-script/ifcfg-eth0 and create an ifcfg-eth0:0 right?im just having issues getting everything setup correctly.my network setup:Router IP: 192.168.2.1IPs on network: 192.168.2.xNetmask: 255.255.255.0

View 3 Replies View Related

Ubuntu Networking :: NM-Applet Static IP Setup On WLAN

Oct 7, 2010

I'm trying to use the nm-applet tool get a static ip on my wlan. I've created a configuration and set up the IPV4 settings ok but I can't figure out how to stop nm-applet from creating and using the auto wlan configuration. I've tried deleting the auto config but it seems to recreate it when I try to use wireless again. How to make the manual config the default or permanently disable the auto (dhcp) config?

View 2 Replies View Related

Networking :: How To Setup Static Routes - Gateway ?

Jan 18, 2011

I have a temporary system up with wlan0 and eth2.

I want the eth0 address to be the gateway for accessing the internet on wlan0.

How do I setup static routes?

I'm not too keen with networking...

Code:

View 1 Replies View Related

Networking :: Setup Static IP Routes On 4 Debian Machines?

Oct 30, 2009

I have 4 debian boxes networked together through a basic 5 port switch. I am trying to simulate 2 Local Area Networks joined together by a WAN. Right now I can communicate with A <--> B, B<----> C, C<----->D. However, I cannot communicate with Host A to Host D which is the whole point of this experiment. It has to be my static routing is not right. This is a confusing area to me. Right now my routes are

[code]....

View 1 Replies View Related

CentOS 5 Networking :: DHCP Work But Not Able To Setup Static IP?

May 26, 2010

I am having several boxex with centos on it. No pb. I have recently setup a new box with centos 5.4 and I am not able to get the network working on it when configuring a static ip.I've configured eth0 and dns using "setup": unsuccessfulI've used the network config GUI: unsuccessfulAnd it is working very well when I let the dhcp getting the setting.I need a static IP.Here is the getinfo output when static ip setup, and below it, the getinfo for dhcp setting

== BEGIN uname -rmi ==
2.6.18-194.3.1.el5 i686 i386
== END uname -rmi ==

[code]....

View 3 Replies View Related

Fedora Networking :: Unable To Setup Etho With Static Ip Adress

Dec 10, 2010

I'm not able to set up eth0 with a static ip adress.service network restart and it was okkay but when I try to turn off and turn on, the ip adress is set up with dhcp.

View 7 Replies View Related

Networking :: Setup Ubuntu As Router?

Apr 5, 2010

how to setup ubuntu as router. i already try to setup but it doesn't work.

my situation is to create ubuntu as router. i have two network card etho and eth1. i want to create eth0 in DMZ and eth1 only can only access in internal.

View 2 Replies View Related

Networking :: Trying To Setup Ubuntu Box As Router

Apr 3, 2011

I have multiple devices in my garage that need internet connectivity. I have my main Netgear router inside the house. I have a computer running Ubuntu in the garage with dual NICs.

Here's a map of how I have it setup now: [URL]
Here's my /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.60
netmask 255.255.255.0
gateway 192.168.1.1

auto eth1
iface eth1 inet static
address 192.168.1.5
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255

I was trying to keep everything on the same subnet. Eth0 is the external NIC, connected to the router in the house. eth1 is the internet NIC, which would go out to the devices in the garage. Now, I know it would be easiest to just connect a switch up and run all the devices in the garage off that switch. But the switch I have is a 10/100, and my network in the house is gigabit, and I want the PC in the garage to have gigabit access... which is why I'm doing this dual NIC setup and using the PC as a router, then the other devices in the garage will be 10/100.

In addition, I used the shell script as described in this article: [URL] to setup iptables. I also uncommented the net.ipv4.ip_forward=1 line in /etc/sysctl.conf. What am I doing wrong here? None of the devices in the garage that I connect up to the Ubuntu PC are getting connectivity. None are getting a DHCP lease from the main router in the house. The Ubuntu PC itself has internet access just fine though.

View 2 Replies View Related

Ubuntu Networking :: Setup A Router With Firewall?

Feb 9, 2010

I want to setup a router with firewall on ubuntu box that will connect windows pcs one serving as outside source and one serving as inside target.

View 2 Replies View Related

Ubuntu Networking :: Can Setup The Server As A DSL Router

Nov 17, 2010

I am planning to setup a home network with Ubuntu.the home network consists of ~3/4 computers; a mediaserver (reelbox) and 2 more PCs.Can I setup the server as a DSL router and get rid of my modem/router I have right now?

View 3 Replies View Related

Networking :: Setup Mutil ISP Router

Sep 8, 2010

I would like to setup a Linux Router with Fedora. Here is what I have and would like to do...

Email filter device is on the LAN at 192.168.x.3. I need to provide SNAT to that device from both T1 interfaces...

All outgoing traffic will route through DSL except for traffic destined for addresses on either eth0 or eth1 (web sites).

I assume I would need the following:

I also assume I would need to setup iptables with FORWARDs for the 192.x.x.x networks to eth3.

What I am not sure how to do, is properly setup the incoming redirections so that the email filter can be access from both eth0 and eth1 by different IP addresses.

View 1 Replies View Related

Ubuntu Networking :: Setup As Router Box And WiFi Hotspot?

May 12, 2010

I've got an Ubuntu box set up as a router and wifi hotspot. I can access the internet and any website using this box. I can connect a laptop to my wifi access point, and connect to both the router box and the internet. I'm writing this message from it. If I access either hsbc Hong Kong internet banking or speedtest.net from my laptop I can't connect. Every other site I've tried is fine. What could be causing this? I don't know where to start. I've set up the firewall rules and routing tables, so I vaguely know what I'm doing... but clearly not enough to debug this issue.

View 3 Replies View Related

Networking :: Setup Laptop Running Ubuntu 10.04 Into Router?

Jun 18, 2010

\How can i setup my computer (currently running Ubuntu 10.04 lts) into a router so that other laptop can have a wireless connection to it and be able to access the Internet?

View 4 Replies View Related

Ubuntu Networking :: Setup Server As Router / Gateway?

May 29, 2011

I have been searching google for a while now and have not found exactly what I am looking for. I would like to use my fresh install of ubuntu server 11.04 as my router/gateway for my home. I am not an expert at linux by any means but I can usually figure stuff out. I believe I need iptables, bind, and a few others probally. It eventually will also be a samba server but I have done a little with samba before. I do have 2 network cards, my router at the moment is starting to die and would love to have a more powerful router. I would also like to figure out how to do port forwarding in the router, as well as be able to see the load on the network cards. Maybe there is a program to show usage by user? As well as be able to do packet pritorization.

View 4 Replies View Related

Networking :: Setup A Router With Extended Range ?

Sep 12, 2010

I want to connect to my office intranet without utilizing internet, there is aprox 210 ft distance and i cannot locate my N router's signal even when i installed the router outside of the building, the server is redhat enterprise, and want to share filehosting and internet with the office to cut down costs.

Office building with intranet>--------<210ft>----------my apartment

I am willing to invest some money in this setup but undecided how to extend the network, someone told me i can use a router in repeater mode but i cannot find any such router, my employer has allowed me to use the office network (so nice of him) but at my own setup.

View 4 Replies View Related

Ubuntu Networking :: Netgear N600 Wireless Router Setup With 11.04?

May 18, 2011

how to set this baby up with a working Internet connection so I can get on my PS3 across the other room.

View 1 Replies View Related

Networking :: Setup Pxe Server Routed Via Standard ASDL Router

Apr 2, 2010

I have searched google, but can't really get the hang of setting this up.Most howtos are setting up a DHCP and PXE on the same box. At the present my DHCP is done by my router and I want to set up the PXE server on my main PC.My router can re-direct traffic types based on ports (UDP or TCP) to an IP but can't do the bit about directing the pxe loader name (and I really don't want to ssh into it and start messing about there)If I redirect the port (what ever it may be, help required here) how would I go about setting up the Ubuntu PC to do the load and pass back to the PC trying to PXEboot?

View 1 Replies View Related

Ubuntu Networking :: TP-Link Wifi USB Adapter: Cannot Setup It In Master Mode To Use PC As A Router

Jun 10, 2010

I got two issues with my wifi usb adapter:

1) it cannot see any networks around
2) i cannot setup it in master mode to use my PC as a router

As far as i can see, the device is recognized and the correct driver (rt73usb) is loaded. I was able to connect to a laptop somehow (the laptop could see other networks and the adapter's PC-to-PC network). I'd like to make it work as a router, i.e. share my internet connection (eth0) via wlan0. Here is what i have:

Code:
Ubuntu 10.04
Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
TP-Link TL-WN321G wifi usb adapter as seen as
Bus 001 Device 006: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
$ iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:off/any
[Code]....

View 4 Replies View Related

Ubuntu Servers :: Setting Up A Static Ip Through Router?

Sep 23, 2010

If not should I just plug up directly into my modem?

View 2 Replies View Related

Slackware :: Static IPs From Dhcp Router?

Jul 6, 2010

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 Related

Slackware :: Static IP - Ping The Router But Not The Internet

Jan 10, 2011

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]....

View 9 Replies View Related

Software :: Can't Setup Static IP?

Jan 15, 2010

Problem to setup static IP

Host - Fedora 12 64bit
KVM - virtualization software
VM04 - Fedora 12 64bit

[code]....

View 2 Replies View Related

Ubuntu :: Server Static IP Setup But Still Giving Dynamic IP's

Mar 21, 2010

I have setup like instructed in online tutorials.

Here is a copy of my interfaces file:

Code:

Code:

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved