Debian Configuration :: Assigning Two Different Iface To Two Subnets

Sep 5, 2015

I am running Raspbian, on my Raspberry Pi I have plugged in a Ethernet cable : eth0 and a Wifi Usb Dongle : wlan0

I have my etc/network/interfaces file configured like so

Code: Select allauto lo
iface lo inet loopback
iface eth0 inet dhcp
iface eth0 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        gateway 192.168.1.1

[Code] .....

When trying to connect with SSH to address 192.168.1.100, I get a connection, when trying with address 192.168.2.200, SSH returns Network Error: Connection timed out.

Also receive no response when trying to ping 192.168.2.200 from a windows machine

If however Iadjust the wlan0 block in etc/network/interfaces to the following

Code: Select alliface wlan0 inet static
        address 192.168.1.200
        netmask 255.255.255.0

I am able to connect to wlan0 in SSH to address 192.168.1.200, and I also receive requests when ping 192.168.1.200 from a windows machine. How can I use a different subnet for my wlan0 iface...

View 0 Replies


ADVERTISEMENT

Debian Configuration :: Wireless Iface Cannot Be Reached From Other PC

Apr 14, 2010

I have very strange problem with kernels 2.6.33 and 2.6.34. I have a wireless card Linksys WMP200 using rt61pci. It connects just fine using WPA2 and works, but in less than 20 minutes I still can reach any machine on my network, but this machine cannot be reached by the others (i.e. before these 20 minutes others can ping me). With default kernel 2.6.26 (Lenny) all is OK. I do not use any firewall. When this happens logs do not change - wpa_supplicant's log is normal (associated), syslog is fine, dmesg shows no errors. Sofar I have tried this:

1. acpi=off as boot parameter
2. both new kernels 2.6.33 and 2.6.34 are compiled with CONFIG_CF80211_DEFAULT_PS disabled
3. iwconfig wlan0 power off
4. Tried ndiswrapper. The device is up and scans fine but wpa2 is not working...
5. Compiled a kernel without ACPI

This is all I did without any luck and I really need the new kernels because I have a quatech device attached to the machine...

View 10 Replies View Related

Networking :: (Debian) IP Traffic Shaping Based On IP/subnets?

Dec 27, 2010

We have a need to shape outgoing traffic EXCEPT to certain IP/subnets (sounds opposite to the title, but not really :P), using iptables if possible. We've had decent luck doing it with various things, but one of the big problems is the decrease in download speed (which DOES NOT need to be shaped at all) due to upload shaping. ie, we want the shaping not to apply to TCP/UDP overhead. Semi related but probably not important is the ability to shape virtualised systems as well (ie the guests), but as the guest traffic goes through the host any traffic shaping done on/to the host should affect the guests as well.

View 1 Replies View Related

Debian :: Assigning A Device At Boot To /video2

Jan 29, 2011

I'm using Debian kernel 2.6.32-5-amd64 I have this little nit picky problem when I re-boot, my webcam and my Tv card switch around on video0, video1 and video2 if my usb webcam is plugged in at boot. I would like to keep it plugged in all the time and have it on video2 and my TV card on video0 and video1. I had read where maybe setting up a udev rule might accomplish what I want to do I just don't understand how.

Here is my camera info from lsusb:
Bus 004 Device 002: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX
Using v4l2ucp gives me this info about my hauppauge hvr1800 TV card:
Driver cx23885
card Hauppauge WinTV-HVR1800
bus_info PCIe:0000:03:00.0
capabilities 0x05010011

View 1 Replies View Related

Ubuntu Security :: What Passes Between Interfaces And Bridges On To Another Iface

Dec 5, 2010

im compiling from source on a old rig i have, its running ubuntu 10.10 server edition and i finaly got all the dependencys installed to a point where ./configure actualy worked. but whne i try and run make this is what i get.

[code]...

View 1 Replies View Related

Fedora Networking :: Accesspoint With Hostapd And Bridge Can't Add Iface Wlan0

Feb 22, 2011

I have setup hostapd and a bridged setup with br0 bridging eth0 and wlan0. The setup works but unfortunately not on bootup. The reason is that the bridge can't add iface wlan0 because it is down for some reason at this time. When hostapd is running (after the network script) the interface is up and can be added to bridge via

[Code]....

View 2 Replies View Related

CentOS 5 Hardware :: Server Starts Drop Packets On Ethernet Iface?

Feb 27, 2010

I've got Tyan S4989 with gigabit ethernet controller Intel Corporation 82571EB. Sometimes server starts drop packets and doesn't respond to any connections and all logs doesn't contain any errors. iptables and SELinux switched off on CentOS 5.3(2.6.18-128.1.6).

View 3 Replies View Related

Networking :: Two Subnets Can't Talk To Each Other?

Jul 7, 2010

I have a firewall between two different subnets. The reason for the second subnet within the internal network is because I have a mail server that I want to protect. However, we need to make sure that the mail server can communicate with the internal network as well.

Mail server is 192.168.100.100
Firewall is 192.168.100.1 and 10.110.101.5 (and its gateway is 10.110.101.1 to the router)

I go to another workstation and ping the mail server. I can't. It times out. I do the same from the mail server. It times out as well.

View 1 Replies View Related

Ubuntu :: Can't Ping Between Subnets?

Mar 10, 2010

2 ethernet cardseth1 IP 192.168.1.254 Netmask 255.255.255.0 (fixed address) Internet
eth0 IP 192.168.2.254 Netmask 255.255.255.0 (fixed address) LAN 01eth0:1 IP 172.16.1.254 Mask 255.255.255.0 (fixed address) LAN 02Lan 01 = Range (192.168.2.1 ~192.168.2.7) for 7 Stations fixed by mac addressLan 02 = Range (172.16.1.1 ~ 172.16.1.5) for 5 Stations fixed by mac address

View 3 Replies View Related

Networking :: 2 Subnets Over The Same Cable?

Nov 27, 2010

I have a 2-floor house, with a single ethernet cable from the ground floor to the 1st. Downstair there is my ADSL modem, which is connected to the router upstair through this one cable. Now, I would like to have some more ethernet ports on the ground floor, but there's no room left to run another cable between the floors, so here's the big question: can I run both the modem-router connection and my regular LAN (which are on different subnets) through that one cable, with a switch at both ends?

To make it a little more clear, here is my present configuration

Code:

DOWNSTAIR UPSTAIR
ADSL Modem ------- Router --- Clients

Here is what i would like to do:

Code:

DOWNSTAIR UPSTAIR
ADSL Modem ---- Switch ------ Switch ----(WAN Port) Router --- Clients
Clients ---- ----(LAN Port)

Would it work?

View 6 Replies View Related

Networking :: Routing Two Subnets ?

Jun 26, 2010

I have two subnets which I am interested in connecting.

Some basic network details:

Subnet A:

Subnet B:

I am trying to think of any further relevant details, but that seems to be it to me. If I forgot anything, please tell me.

Ok the question. WHAT do I type? (Explicitly!) And WHERE do I type it? In order to reach ubuntu-01.tec.lan, or ubuntu-02.tec.lan from perpetrator.tec.lan or rapine.tec.lan?

I'm interested in using actuall ROUTES. I can already achieve results similair to this with either a NAT firewall, or with VPN.. but that's not what I am interested in.

From what I have found out so far, I should need something like the following:

On Gateway 1B:

Code:

And on Gateway 1A:

Code:

View 5 Replies View Related

Programming :: Bash IF Using IP Subnets?

Feb 14, 2011

I'm somewhere between Novice and I have no idea what I'm doing with bash scripts. I'm writing a script to deploy images using partimage on my company's desktops, and while I have just about everything else figured out I have one issue left.Each of our 4 sites that will be using this disc will have a deployment server due to the fact that our sites have dedicated point to point links that our business traffic is conducted on. I need to be able to determine what site I'm at based onubnet and set a variable based on this determination. What I don't know is how to get the IP address in to an if statement, and properly determine subnet. For example:

192.168.1.0/16 - 192.168.7.0/16 need to use DEPLSERV01
192.168.8.0/16 - 192.168.16.0/16 use DEPLSERV02
192.168.17.0/16 - 192.168.24.0/16 use DEPLSERV03

View 1 Replies View Related

Ubuntu Networking :: Routing Between Two Subnets ?

Feb 16, 2011

I have a network routing problem that I need to fix using a PC with ubuntu installed.

Here are the details of my problem:
- I have two networks.
- The first network is an ADSL router with subnet 192.168.1.x. I do not have access to the router nor change any of its configuration.
- The second network has a subnet 172.26.x.x and connect via a wireless access point. Some of the devices connected to the network require to have static IPs.
- I have a PC with ubuntu installed and two ethernet cards: one connected to the first network and the other connected to the access point.
- I need to share the internet connection between the two networks using ubuntu. I already tried before on windows and the sharing worked when both networks were configured to use the same subnet. Once I changed the subnet of the second network, internet sharing stopped working.

View 1 Replies View Related

Networking :: Routing One Gateway To Different Subnets ?

Sep 3, 2010

Im having a issue with routing internet traffic from my router two different subnets (vlans).

Theres my setup:-

Server:

Both eth0,1 are running dhcp (two scoopes) that works fine!

The output of route -n is:

I have ip_forwarding on aswell, but i can ping the ip on the server running that dhcp scoope ie ping 192.168.4.1 works great but i just cant get the internet on the clients.

View 8 Replies View Related

Networking :: Can't Ping Subnets - Vmware

Jan 15, 2011

Bear with me cos i'm just learning this stuff.

I've set up a couple of virtual networks with vmware workstation and experienced the same problem each time. I'll explain the one i'm working on now.

Machines -

Host - Slackware 13.1, VMware workstation 7.x.
VM1 - Vyatta (router).
VM2 - WinXP (client).

[Code]....

BUT I can't ping the XP client from the virtual router, and from the host I can't ping the virtual router.

Why is this?? I assume i've done something wrong but I don't know what.

View 3 Replies View Related

Networking :: Connecting Two Subnets Via A Server?

Mar 3, 2011

i have two subnets with different gateways.i am thinking of connecting them via a linux server which would enable them to communicate.but i dont know how to proceed for getting this done.how should the connection be made and what should be the configuration settings on the linux server.

View 2 Replies View Related

Networking :: Dhcp Server With Two Subnets?

Mar 17, 2010

I'm trying to build a linux(fedora 12) dhcpd server(and gateway), that have 3 network cards(eth0 have with public ip, eth1 192.168.2.1 class and eth3 with 192.168.3.1 class).

Because I have just a switch, I want to put both cables(from eth1, eth2) in the switch. Every client has 2 network card(eth0, eth1). My question is, is there any way to conf eth0 to take from server ip from 192.168.2.1 class, and eth1 from 192.168.3.1? The internet will work only on eth0.

my dhcpd.conf for now looks like this:

subnet 192.168.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.2.1;

[Code]....

View 1 Replies View Related

Networking :: Route 2 Subnets Between 2 Routes?

Oct 28, 2010

I have some CISCO,Linux related problem with 2 Class C subnets:

192.168.64.0 -> PC5
192.168.65.0 -> PC6

Here's a picture of my situation: [URL]

HQ has to have 2 STATIC routes in order those 2 "PCs" mentioned above to have end to end connectivity with NETWORK A and NETWORK B. Now I try with

route0 -> network: 0.0.0.0, mask: 0.0.0.0, nexthop: Serial 0/0/0
route1 -> network: 0.0.0.0, mask: 0.0.0.0, nexthop: Serial 0/0/1

And it seems to work but I don't think it's proper! I feel it's kinda wrong ... but all my other attempts to set another couple of static routes ends in "Request timed out" and thus connection lost.

View 1 Replies View Related

Ubuntu Networking :: Bridge Two Subnets With A Server?

Nov 2, 2010

I have a Ubuntu server with multiple NICs and I'm just thinking about a potential scenario that might come up soon.

Imagine I have a network on floor 1 with an independent cable connection to my Ubuntu server -> switch -> assorted devices, on the subnet 192.168.0.x Now imagine friends upstairs have another independent network with cable -> router -> assorted devices, on subnet 192.168.1.x.

How can I set up my server to provide access for the 1.x subnet to the 0.x and vice versa. Ideally the devices all access internet from their appropriate subnet. I've read something about bridging, is this what I need?

View 1 Replies View Related

Networking :: NFS Server Serving 3 Subnets And Routing ?

Apr 23, 2010

I have one main subnet 192.168.50.0/24 with a defaultrouter 192.168.50.1 connected to the internet. I have an NFS server on that network. Everything is working as desired and machines are able to see each other and access the internet.

Now, I would like to add two more interfaces to the NFS server (running Slackware Linux), each on its own different subnet, say 192.168.51.0/24 and 192.168.52.0/24. The clients on those new subnets should also be able to access the internet (through the router 192.168.50.1). how to setup routing? Do I need any additional hardware router in between, or just a software configuration on the NFS server?

On a side note I have VLAN capable switches (couple of ProCurve 1800-24G) and would like to separate the three subnets using VLANs instead of using three separate switches.

View 1 Replies View Related

Networking :: Configure Static Routing Between Two Different Subnets

Aug 25, 2010

In configuring static routing between two different subnets.

I have two different subnets as mentioned below:

I have a linux machine with two NICs on which i would like to configure static routing. details of the NICs are as mentioned below:

I have configured the gateway as 10.77.77.1 on machines which fall under 10.77.77.0/24 subnet and 172.16.40.1 on 172.16.40.0/24 machines.

My main motive here is i want communication to happen between both the subnets.

If the following modifications to route-eth0 and route-eth1.

View 3 Replies View Related

Networking :: Determine How Many Subnets Are In A Network Range

Jan 12, 2010

I am trying to remember how to determine the number of subnets there are in a given subnet range. The example range is shown below:Quote:217.133.64.0-217.133.127.255nce I did the binary conversions of the two addresses shown, the address that I got when comparing the two was the following:Quote:217.133.192.0he number of subnets I got from his was 63.Correct me if I am wrong, but is the number of subnets the difference between the number, in this case, the third octet and 255? If there is another, or correct, way of determining the number subnets what would it entail?

View 8 Replies View Related

Networking :: IPTables NAT - Excluding Subnets For IPSec VPN

Feb 27, 2011

I have a Ubuntu 10.10 box which i've developed an IPTables Firewall script and is forwarding my ports correctly. This service also runs Openswan VPN Server with 2 VPN's, which is also working well.

I have come across a small snag with excluding the multiple VPN subnets I have from the NAT on this box.

I have the line in my configuration file:

-A POSTROUTING -o eth1 -s 10.172.1.0/24 -d ! 192.168.5.0/24 -j MASQUERADE

Which when added to IPTables does make the VPN come to life. But I can't seem to get it to add the second subnet. Unfortunately, I can't do a blanket exclusion such as 192.168.0.0/16 because the second VPN is on a Class B subnet address which I cannot change.

View 1 Replies View Related

CentOS 5 Networking :: Ipsec - Get Access To All The Subnets?

Aug 18, 2011

Connecting two networks with ipsec on this manual [URL] The two networks are connected, everything works, the question is as follows: For a gateway to multiple subnets, I have access to only one subnet is listed in / etc/sysconfig/network-scripts/ifcfg-ipsec0 DSTNET = 192.168.2.0/24. How do I get access to all the subnets?

View 2 Replies View Related

CentOS 5 Networking :: Adding Two Subnets To 1 NIC Port?

Sep 1, 2011

I have a server hosting with in a DC and I have two subnet on 1 VLAN. how can I add all the IPs from these two subnet in one go? lets say for instructional purpose they are 192.168.0.0/24 and 192.168.1.0/24

View 1 Replies View Related

Debian Configuration :: ProFTPd Configuration - Use To Host MySQL Databases And A Few Websites

Nov 18, 2010

I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".

It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.

View 6 Replies View Related

Debian Configuration :: Multipath Configuration On 5.0 64 Bit - Doesn't Create The Relative Devices

Jul 20, 2011

i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard

Here is the multipath.conf

[Code]....

So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun

View 1 Replies View Related

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.

My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.

View 1 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Networking :: Use Multiple Dhcp Subnets On Single Machine?

Dec 13, 2010

I am find myself in need of building what amounts to 3 ip networks on 1 physical lan.

first LAN is another companies network on the 10.0.0.0 network a mix of pc's and equipment

second is LAN new company network 192.168.168.0/24

third network is an ip phone system for both i would like to use 192.168.200.0/24

i am hoping to use the same dhcp server to do this, assigning address to the old company's 10. network via mac address reservation.

View 9 Replies View Related







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