Networking :: Addressing Internally And Externally With A /30?

Jan 27, 2011

It's more just straight networking rather than Linux related - possibly a rather large gap in my knowledge.Been asked to set up a Linux firewall / router for a friend, and he wants an external address on his PC and his firewall. He's got a /30... ISP seem to think this is normal. My understanding was different router interfaces should be in different subnets when it comes to addressing. eg:

WAN 1.1.1.1LAN 192.168.1.1/24 (then PC 192.168.1.2)This is how I'd set up an enterprise router, and from memory how I had to regurgitate networking for my Cisco exams. But they would have been large devices within a BGP environment, how does this compare to home use? Can you have interfaces on the same router within in the same subnet? I'm looking for the real world answer - not my CCNA answer or the config addressing scheme I just blindly followed...Is this right or can different interfaces be in the same subnet?If they can be in different subnets How would you do that with an eternal 1.1.1.1/30? egWAN 1.1.1.1LAN (what IP?) then PC 1.1.1.2Would you actually just set the router up as a /29 and then use the additional IP addresses for the LAN NIC on the router? (yes I'm aware you couldn't route to where it had actually been allocated)

Then with that how do I route the 1.1.1.1/30? Which interface do I point it at? Even with a /29 I'd still have a routing issue right?Or are the ISP expecting you to do something with NAT / port forwarding. (and yes I could do this to get it working - but I want to understand it better) I'm asking the question here, because rather than just wanting a magic file to get things working, I'd actually rather understand the principles rather than just press a button and have it work.

View 7 Replies


ADVERTISEMENT

Networking :: Bonded Ethernet Interface Can Ping Internally But Not Externally

Oct 14, 2009

So I keep reading that bonding ethernet devices is supposed to be easy. I have followed several tutorials and tried a few things on my own, and I can't seem to get it right. I currently have a setup that allows me to ping internally on my network, but when I try to ping externally I get the error:
connect: Network is unreachable

Before I bonded the interface my connection worked fine. Here are my config files. I am running centos 5.3 on a virtual machine.
/etc/sysconfig/network-scripts/ifcfg-bond0

Code:
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.211
USERCTL=no
/etc/sysconfig/network-scripts/ifcfg-eth1

Code:
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
HWADDR=00:0c:29:88:59:47
MASTER=bond0
SLAVE=yes
USERCTL=no
/etc/sysconfig/network-scripts/ifcfg-eth0

Code:
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
HWADDR=00:0c:29:88:59:3d
ONBOOT=yes
/etc/modprobe.conf

Code:
alias eth0 pcnet32
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptspi
alias scsi_hostadapter2 ata_piix
alias eth1 pcnet32

alias bond0 bonding
options bond0 mode=0 miimon=100
output of cat /proc/

Code:
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:88:59:3d

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:88:59:47

View 4 Replies View Related

Fedora Networking :: Can't Reach Computer Internally With Domain Name

Apr 8, 2010

I am not sure if this is a problem with my router or a problem with the fedora 12 server i am using.

- internal here means within my home network, external means from outside it.

I can access my server and webpage:

internally using http://192.168.0.192
externally using http://MYDNS___EXAMPLE.com

but I cannot access the server internally using http://MYDNS___EXAMPLE.com

This is a pain in the butt because I have all of my client software setup with an internal and external access point (ssh, proFTPd, http, MS Access database connected to MySql, etc.)

View 5 Replies View Related

Ubuntu Networking :: NetBIOS - Addressing Computers By Name

May 6, 2010

I'm having some trouble addressing computers by name. I've just upgraded most my my box's to Lucid, and it was all working fine, but suddenly stopped - not quite sure why, or what I did, but I need it to come back! At first I thought it was my old router dying (which it was) but a new router hasn't helped.

I've now moved DHCP from the router to my server, and that's working fine, giving out static IPs from MAC addresses, and so forth, but I still can't address anything by name. My server is on 192.168.100.1 and called myth-server, if I

[Code]....

View 2 Replies View Related

Ubuntu Networking :: I.P Addressing With Home Router?

Jan 16, 2011

I'm wanting to set up a network. I'm still confused as to how to set it up. I think the easiest design is to have a switch on my border router.n this switch will be the servers. Also attached to this switch will be a Linux box. This will be a dedicated firewall. On it will be another switch. And the machines on the internal network will be attached to this switch. In the book "building Internet firewalls"(o'reilly) this set up is described as a screened subnet architecture. However the external interface on the Linux dedicated firewall will have to get it's I.P via dhcp (192.168.1.*) from the border router.

That or it can be a static I.P on the same subnet as the border routers dhcp range 192.168.1.*(but outside the dhcp range) but that would be trickier.The internal interface of this dedicated firewall would be static and on a different subnet as the external interface (192.168.2.*). Then this internal interface could give out I.Ps to the internal network that are on 192.168.2.*. If it did N.A.T for packets from the internal network then N.A.T would be being done twice; once by the Linux dedicated firewall and once on the border router, before going off to the net.Or is it a better approach to NOT do N.A.T on the Linux firewall and have all I.Ps on the whole network assigned as static(outside of the border router's dhcp range, but all on the same subnet(192.168.1.*))?.

Basically is there any point in the Linux box doing dhcp and N.A.T for hosts on the internal network?. I guess the answer is no. But i just wanted to hear your opinions, if you have the time. The border router is a home router. nted to have a normal triple-homed dedicated firewall and put it in the border router's DMZ but it proved unpredictable and tricky. So i just wondered what the best I.P addressing scheme would be for my newer way.

View 1 Replies View Related

Networking :: I.P Addressing For Simple Screened Subnet Architecture?

Jan 8, 2011

I'm wanting to set up a network that has a simple screened subnet architecture. The boarder router will have a switch plugged into it. My servers will be plugged into this switch. Also plugged into this switch will be a dedicated firewall. This firewall will protect the internal network. The boarder router is not very flexible. You can have hosts that use dhcp but that get the same internal I.P address each time their interface is configured.Or you can configure static I.Ps on hosts that are outside the dhcp range of the router, but that have the same subnet address.

The most simple way to set up such a network would be for every interface to have a static internal address that is obtained via dhcp from the boarder router. Like i said the boarder router is doesn't give you much freedom. Meaning that it lets you have a static internal address but not a different network address for different interfaces. That is where the confusion is, for me. If all the interfaces that get theirI.P addresses from the boarder router are on the same network, then what about the systems on the internal network. They might as well get their I.Ps from the boarder router as well, to avoid NAT being done twice before their packets get sent out to the Internet?.I wanted a three interface firewall to separate the DMZ from the internal network, instead of using a screened subnet architecture, but the boarder router only allowed one interface to be in the DMZ, i think and it didn't seem to have a well designed way of controlling the DMZ ie setting a new default gateway etc.

Should i let NAT be done twice for packets from the internal network i.e have the dedicated firewall do dhcp and NAT for the internal network, but this firewall's external interface have a static internal I.P from the boarder router, and the internal I.P of the dedicated firewall have a static internal I.P from the router as well?. It looks like all the interfaces have to have the same network and subnet address, except the machines on the internal network(which can get their I.P from the dedicated firewall)

View 5 Replies View Related

Networking :: Not Seeing Strong Connection To MAC/Physical Addressing And Reasoning?

Jul 24, 2011

Why does a NIC need a permanent individual way to distinguish it? Why not give it the host name in a form that is not a permanent hardwired hardware? Seems that the last ethernet router before reaching your PC is really seeking your NIC. So why is not the expression "What is your NIC Address" instead of "What is your IP Address"?

View 5 Replies View Related

Ubuntu Networking :: Set Up Deluge Access Externally?

Jan 10, 2011

I just set up deluge on my of my old boxes running ubuntu server 10.10.

I'm trying to set up access to my deluge site from any where i travel (outside my network)

im not sure if im setting my port forwarding correctly on my router as i can't seem to access from out side my network.

i selected start and end ports to what i gave to deluge...

View 2 Replies View Related

Fedora Networking :: Static Addressing Of Eth0/eth1 Doesn't Work?

Mar 12, 2009

I cannot get static addresses to work on eth0 and eth1. eth0 seems to use DHCP while eth1 uses the static information. Sometimes the static info is used but the interfaces get the addresses reversed.

From /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mosaic

[code]....

View 5 Replies View Related

Fedora Networking :: Access Externally With Hostname Instead Of IPAddress ?

Aug 16, 2011

The details of "how to access externally with hostname instead of IPAddress in fedora"

View 1 Replies View Related

Ubuntu Networking :: Setup SSH To Connect To Machine Externally

Mar 21, 2010

I'm using Ubuntu 9.04 x86_64 and trying to setup SSH to connect to my machine externally. The open ssh server is already installed and I can using ssh localhost. Moreover, I also forward port 22 to my machine and check using [URL] Everything seem to be ok, but when I trying to connect using ssh -vvv <ip-address> I receive the following common error:

[Code],,,,

View 4 Replies View Related

CentOS 5 Networking :: Can't Access Server Apache Test Page Externally

Nov 15, 2010

i'm setting up apache on 5.3. i can access the apache test page without a problem from the server via URL... But i can't figure out how to access this page from another computer within the domain (for when i upload my home page.

View 4 Replies View Related

Programming :: What Happens Internally When Create A File

Jan 17, 2011

I am using NetBSD-5.1.1. I wanted to know what happens internally when we create a file in linux. ( In general )?The header file STDIO.H present in "src/include/stdio.h" contains a "FILE" structure with various members like _p, _cookie, etc.2. I wanted to know how does internally memory gets allocated for them.?

View 1 Replies View Related

General :: Internally Create A File?

Jan 16, 2011

I am using NetBSD-5.1. 1. I wanted to know what happens internally when we create a file in linux. ?The header file STDIO.H present in "src/include/stdio.h" contains a "FILE" structure with various members like _p, _cookie, etc. 2. wanted to know how does internally memory gets allocated for them.

View 1 Replies View Related

Hardware :: Replace Power Supply Or Mount Internally?

Dec 22, 2009

I have a 500GB WesternDigital Elements external harddrive and recently I plugged it into my computer and noticed the green light on the power adapter didn't light up anymore. I'm assuming that the power adapter failed - is this a fairly safe assumption? I know it COULD be something else, but does this at least make sense to move forward?Coincidentally, I've been researching new externals to order a 1.5TB because the 500GB is full.

I'm contemplating two options:
1.) Replace the power supply for ~$40
2.) Take apart the external and mount it internally

If it is in fact the power supply it might be the best option to just replace the thing and have 2 externals for backing up data on. But if it turns out to not be the power supply I'm out $40.I'm not sure how taking apart the external and install the hard drive in a desktop computer would be. Is the harddrive a standard drive? Does it have all the same power cords a normal computer would? If so, I could just install it into my brother's desktop and retreive the data that way (and he'll have an extra 500GB hdd).

View 2 Replies View Related

Software :: Can't See Internally Hosted Website When Inside The Network

Feb 9, 2011

I am creating podcasts that I like to download to my android phone. I host the podcasts on my home webserver and use dyndns for the website when outside the network. However, when I type in my dyndns website from inside my network, it will not work.

I realize i can use the ip address to get to the site, but since I use beyondpod for my podcasts, it's all saved in settings. So what i'd like to be able to do is download the podcasts to my phone from either inside or outside the network.

View 1 Replies View Related

General :: Get VideoLAN Device Addressing In VLC?

Apr 17, 2011

How do I get the VideoLAN device information that corresponds with /dev/video, and /dev/video1 for vlc targetting?

This command kind of does what I want code...

However I want to target my second webcam, not the first one. How do I do the v4l2:// for my second webcam?

View 1 Replies View Related

Ubuntu :: Multiple USB Com Port Addressing?

Jan 20, 2011

I have 2 xbee explorer USB boards hooked into my Acer Netbook running 10.04.e successfully mapped the /dev/tty/USB0 and set it up as com2 to use with X-CTU XBee software. It works. WHen I try to have a 2nd USB explorer board and do the same mapping thy both show as the same manufacturer so the same address(006). Even though the second reads as /dev/tty/USB1. Has anybody ran into this situation as well

View 1 Replies View Related

General :: Memory Addressing With Dual CPU's?

Feb 16, 2011

I have a dual CPU system, where each CPU has 4G of associated RAM. I would like to know how to determine the logical memory address start of memory in the user address space for each CPU. I am running OpenMP, and have 16 threads, for a problem that parallelizes. What I would like to do is to be able to put half the data on each of the 4G, so that each processor will have half the data local, and thus reduce the amount of data transferred from one CPU to the other.

View 3 Replies View Related

Software :: Addressing The Serial Port?

May 25, 2011

I'm not a developer or programmer just a user.I'm trying to install a packet radio system using Linux. The TNC is a Kantronics KPC3.The issue I'm having is the communications programs I have tried (minicom and cutecom) do not talk to the TNC. I'm using a computer that has a serial port and it is enabled in the BIOS.I have added myself to the uucp group in an effort resolve this issue.

View 6 Replies View Related

Server :: Sendmail For Inbound Mail And Redirecting Them Internally To Other Port?

Mar 22, 2011

I have configured a sendmail MTA for incoming mails in a network and by using IPtables i have redirected the traffic internally to other port where one more SMTP by a application is running.Iptables rule:

iptables -A INPUT -i eth0 -p tcp --dport 25 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 25 -j REDIRECT --to-port 25000

My sendmail config is as below.

Sendmail.mc
define(`SMART_HOST', `relay:host.subdomain.mydomain.com')dnl
dnl # define(`RELAY_MAILER',`esmtp')dnl

[code]...

View 2 Replies View Related

Software :: Cronjob Schedule To Run Php Script On Lighttpd Server Internally?

Mar 29, 2011

I know that you can access and run any script of the web by wget:

Code:

wget mydomain.com/page.php

But this is literally accessing it externally through the web, i think that it is safer and faster to access the script internally. I am using lighttpd to host my php pages, and is there a way to do that? I have had some hosting experiences, the cronjobs on the hosts let u input:

Code:

* * * * * php /public_html/path/page.php

View 2 Replies View Related

Fedora X86/64bit :: FC12x64 And Intel Xenon 38 Bit Addressing?

Dec 27, 2009

I'm running FC12 x64on a Dell PE2950 to host some virtual guests, but FC12 host drops CPU errors (IERR asserted) and reboots whenever CPU utilization jumps above 30-40%. Found mention here from end of 2007 checked /proc/cpuinfo and DO have the 38 bit addressing processorsDoes anyone know if there's a kernel module I can load or am I going to have to custom build a kernel with that module available? What mod is it?

View 5 Replies View Related

OpenSUSE :: Empathy Chat Client - Got Some Errors That Need Addressing!?

Sep 9, 2010

I've got a problem occurring with my openSUSE 11.3 // GNOME Empathy Chat Client. When I try to connect to my Facebook account, my client tells me that I have a Network Error. Last time I used the client at home, it worked perfectly fine, but when I'm at work it doesn't.

Now, you guys may say that my work's network may have ports blocked, or the firewall is blocking its use in some way, but I find that hard to believe. My reasoning? I am able to connect to my Facebook account thru Empathy at work on my previous Ubuntu 10.04 system with no problems. I have also been connected to the same chat accounts this whole week on my openSUSE 11.3 // KDE 4.4 Kopete chat client.My Empathy connects to my Skype with no problem also. So, do any of you have any ideas that could possibly solve my issue? I love being connected to my Facebook chat at work because I don't see anyone nearly as often, and it's a great way for me to keep in touch with them.

View 2 Replies View Related

General :: Addressing A Host From Both Internal And External Networks?

Aug 17, 2010

I have a fairly standard home network set-up with a router and a couple machines on the internal network (with private IP addresses 10.0.0.x). One of these machines is running my subversion server, which is in turn used by my laptop. I am now trying to configure my laptop in a way that I can have one working subversion copy connected to the repository which works both when the laptop is connected to my home network as well as if its connecting from internet. I configured a "virtual server" on the router, so that port 443 goes to the machine with subversion, and this works fine. Now I don't know how to configure the laptop to go to the same machine - because the IP is different if I want to access it from outside and from inside. I tried to connect to the external IP of my network, but the router refuses to let the connection go "out and in again". how to get it configured?

I am using Debian linux with wpa_supplicant on the laptop.

View 1 Replies View Related

Ubuntu :: IP Address Cannot Be Accessed Externally?

Apr 22, 2010

I have finished something simple and would like some people to test it, and when I gave my url of my website that sits on my computer to someone, the response was that she kept getting messages saying that connection has been reset. She tried for a couple of times and could not see my website, which the address is accurate.

Are there specific things I need to do to allow users to see my site? Yet, why does she not get messages saying that "failed to access" or something like that?

View 9 Replies View Related

Programming :: Close The Thread Externally?

Aug 11, 2010

i created one thread in main(). I have while in thread function.

I want close the thread in main after some time. How can i close it.

View 4 Replies View Related

Fedora Servers :: HTTP - Can't See Websites Externally

Dec 7, 2009

HTTP - Can't see website(s) externally

View 4 Replies View Related

Ubuntu Servers :: Mail Not Being Delivered Externally?

Mar 1, 2010

We've just setup an Ubuntu server as our main web server. The site's domain, say mydomain.com, has its DNS hosted elsewhere. A records are pointed to the IP address of the new server, so far so good. Email is however handled elsewhere. Sending mail to _anything but_ mydomain.com works fine. However when i try to send mail to me@mydomain.com the mail ends in /var/mail/me

how to deliver the mail externally?

Using Ubuntu 9.10 with sendmail

View 9 Replies View Related

Server :: Configuring Four Hard Disks Externally Into One LVM?

Dec 30, 2009

I am connecting a complete set of four hard disks externally to my linux server.I have certain queries on that

1. How to make it detected. Will the cd which had come with that will install the required drivers?
2. How the cd drive will work out in linux?
3. How to configure all the 4 HDD into one LVM?
4 How to remove an already installed software from a linux system?

View 3 Replies View Related







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