General :: Assign Port Numbers Against Interface (LAN Card)

Apr 22, 2010

I am using RHEL 5. In my Linux Box I have two Lan cards (eth0 and eth1). "eth0" is connected with network 192.168.10.0 and "eth1" is connected with network 192.168.11.0. Both Network are inter connected via routing. Now I want a situation where, I want to dedicatedly assign some port numbers against a lan card. Like eth0 will be assigned for ssh (22) and eth1 is assigned for telnet (23). So that, when a user connect to 22 port then he/she is connected to the server through eth0 , and when a user connect 23 port then he/she is connected to the server through eth1. Is it possible to do using iptables or other?

View 2 Replies


ADVERTISEMENT

Fedora Networking :: Port Redirect, I.e. Whatever Comes Through Whatever Interface On Port AAAA Will Get Redirected To Port BBBB?

Feb 18, 2010

I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:

nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB

[code]....

View 10 Replies View Related

General :: Assign IP Address To 2nd Ethernet Card?

Jun 22, 2010

In my red hat Linux machine there was a Lan card using eth0. IP is asign to that network card and it is functioning properly. I add another ethernet card in my linux machineit was detacted and when i use the commandQuote:[root@localhost root] # ifconfig -ait show me both eth0 and eth1 lan cards.I can see Ip address in my eth1 ethernet card but When I enter into

Code:
[root@localhost root] # cd /etc/sysconfig/network-scripts
and i use ls command it only show me the file ifcfg-eth1 and with

[code]...

View 8 Replies View Related

Debian :: Assign MTU Value For Network Interface?

May 18, 2011

I have dsl broadband shared through a Modem Bridge Mode forwarded to wireless router which is configured for dhcp lease to the clients(1 Desktop, 1 Laptop).

So, in My Debian Testing Desktop, I have following lines in /etc/network/interfaces :

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

[Code]....

View 1 Replies View Related

Networking :: Assign A Private IP Address To The Same Interface?

May 15, 2011

I recently just upgraded from humble Linux user to confused Linux admin of my own virtual Linux server. When I issue the ifconfig command I get following output.

Code:

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:1.2.3.4 P-t-P:1.2.3.4 Bcast:1.2.3.4 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

The WAN IP of the interface is not really 1.2.3.4 I just changed that IP for security reasons.What I am trying to figure out, is it possible to assign a private IP address to the same interface or can I only have one IP address per interface. I understand I have a mask of /32 so I am not going to be able to subnet the address to create any more addresses, so I assume I am stuck with the WAN IP (public IP) that I have, and just need to deal with it.

The reason I ask this is because I have been reading through several DNS/BIND tutorials/walk-throughs, and a lot of them specify setting up a intranet access with 192.168.1.1 address for the local DNS server, but since I am connecting to the sever via SSH I figure I do not need a private IP address.

View 5 Replies View Related

Software :: Change The Port Numbers Of Samba?

Jan 19, 2011

I need to change the port numbers of samba. Our ISP is blocking the ports 445 and 139. So i need to run samba in a different port.

View 1 Replies View Related

Ubuntu Networking :: Samba With Bridge Interface / Cannot Assign Requested Address?

Sep 17, 2010

I have two network interfaces in my pc eth0 and wlan0 and a virtual one br0.

router <= eth0 (0.0.0.0) => br0 (192.168.1.10) <= wlan0 (0.0.0.0) => other pc.

On startup of my pc (ubuntu 10.04 server x64), samba bind itself only to loopback network interface, as i can see when i do netstat -an , preventing me to enter in my shares from a remote pc.

Here is my configuration regarding samba network:

Code:
interfaces = 127.0.0.0/8 192.168.1.0/24
bind interfaces only = yes
and my /etc/network/interface
Code:
# The loopback network interface
auto lo
iface lo inet loopback
code....

Any idea fo speed up my bridge configuration or to force samba to wait unitl the bridge is ready?

View 1 Replies View Related

Ubuntu :: [Evolution] Configue Server Port Numbers?

Mar 26, 2011

When setting up Evolution e-mail accounts I cannot find any place to set up smtp or pop server IP port numbers. They must be using some default value, but my university's mail non-stander porn assignments or something.

View 3 Replies View Related

General :: Displaying All Network Interface Card

Mar 31, 2011

i am new to redhat linux,how do i list all newly added network interface card.can someone kindly help me with this?

View 11 Replies View Related

Networking :: Assign An Alternate Ip Address On Same Lan Card

Jul 10, 2010

I am running Linux AS4 Update version. I have one lan card and the primary IP-Address is 192.168.0.215 & subnet is 255.255.255.0

Now I want to assign an alternative IP-Address on the same card & the IP I want to assign is 192.168.15.215.

I run the following command from root user:

Now when I ping this IP 192.168.15.215 From Windows machine then its reply me & properly reply comming from this Ip.

But when I want to access this Ip by \192.168.15.215 from run prompt then it gave me error. The specified network name is no longer available..

I already restart the machine & network service but the problem remains same.

View 2 Replies View Related

Server :: Assign An Alternate Ip Address On Same Lan Card

Jul 10, 2010

I am running Linux AS4 Update version. I have one lan card and the primary IP-Address is 192.168.0.215 & subnet is 255.255.255.0

Now I want to assign an alternative IP-Address on the same card & the IP I want to assign is 192.168.15.215.

I run the following command from root user ifconfig eth0:1 192.168.15.215 netmask 255.255.255.0 up

Now when I ping this IP 192.168.15.215 From Windows machine then its reply me & properly reply comming from this Ip.

But when I want to access this Ip by \192.168.15.215 from run prompt then it gave me error.

The specified network name is no longer available..

View 5 Replies View Related

General :: Tell Guest OS To Treat USB Port As Network Card?

May 30, 2011

Computer 1
Motherboard 845GBV
Host OS Windows XP
Guest OS Linux slackware (via Virtual Box)
Network via USB modem
USB port 3/6

Computer 2
Motherboard Asus P7P55D-E Pro
OS Windows 7 x64
Network via USB modem, or
on-board network chip
USB port Plenty!!

1) Motherboard on computer 1 is possessed of 6 USB ports

2) USB modem (connecting to the internet) is plugged into one of the USB ports

3) Guest OS uses NAT to access the USB modem

4) I wish to start setting up a network where the Slackware guest OS on computer 1 is the gateway/firewall for computer 2

How should the Guest OS be told to use one of the USB ports (I only use 3 of them at present) as a Network Card?

View 2 Replies View Related

Ubuntu Multimedia :: Wineasio/JACK - Assign More Inputs Than Sound Card Actually Has?

Feb 10, 2011

I am running Ubuntu Studio 9.10 and have been using wineasio to connect Reaper to JACK successfully for a while now. However, I am now experimenting with using multiple soundcards in JACK (via alsa_in). My main card is an M-audio delta 44 (4 inputs) and I want to route the inputs from my onboard soundcard into Reaper using JACK. No problem so far.. This all works with alsa_in. But the problem is I can't get reaper to start with more than 4 in/out.

With wineasio, there is an environment variable "ASIO_INPUTS=" and "ASIO_OUTPUTS=" which allows you to set the number of in/out... Which I already used to bump it up to 4 when the default was 2. But when I try to set the inputs to 8, for example, Reaper still only recognizes that there are 4 inputs in its configuration.

The problem here is I need more than 4 separate input tracks going into Reaper simultaneously. It would also be nice to just have some "virtual" in/out ports to route things around in more ways. Another option I have considered is the "Rearoute" drivers in Reaper, however I'm not sure if that will play well with JACK. I'll have to test it tonight and see. I guess if it doesn't connect to JACK, it may be theoretically possible to run JACK simultaneously with the Rearoute driver with Reaper, and then actually use alsa_in on the same card to bridge it to JACK (in addition to using alsa_in for the onboard soundcard inputs as well)... But if this even works, I'm not sure if the latency will be worse ...

Does anybody have any insights on this? Am I doing something wrong or overlooking something? Is this just a limitation of wine or wineasio that it cannot assign more inputs than the primary sound card physically has? Would "virtual ports" help me at all in this endeavor?

View 1 Replies View Related

Ubuntu :: How To Interface With RS232 Port

May 13, 2010

I am trying to interface a machine (lock in amplifier) with Ubuntu using a RS 232(25pin) to USB cable. I wrote a program in c to interact with the machine. I think the machine is detected (after connecting the machine a file is created in folder /dev with name ttyusb1. I heard that ubuntu has all the header files required to interface with the port. with the help of a person i wrote this program (please see the attachment below.) but i don't know whether the commands are right or wrong. the program is compiled. but when i run the program it is getting stuck. i have to stop the program using Ctrl+z. if anyone knows these commands (how to write to or read from the port) please help me with this program.

View 6 Replies View Related

Debian Configuration :: Bind A Port To Interface

Jan 31, 2016

Is is possible, via iptables or something similar, to bind a service running on a specific port to a specific interface? My case: I use a VPN service for privacy. I would like to have all traffic except ftp and ssh to run over tun0. Ports 21 and 22 will need to be accessible to the outside world (eth0) while the VPN is running.

View 3 Replies View Related

Networking :: Route For IP And Port Trough Specified Interface?

Aug 13, 2010

I have two NIC, one is ethernet and second is via modem. On the eth0, most of no standard ports are blocked, so I need to connect to specified port on some IP, through ppp0 (modem), to use ssh connection on non standard port to that IP. For other ports on that IP and all other IPs I want to use eth0.

View 1 Replies View Related

Fedora Networking :: Interface Refuses Port Forwarding Or NAT

Oct 29, 2010

I have a set up with a computer that has two network cards and is connected to two networks. Both networks connect to the internet via separate routers that have DHCP enabled. I can set one of the routers up to do port forwarding to the computer without any complications but if I want to do the same on the other router the port forwarding from it doesn't work and I can't reach the system.

I know for a fact that the services are accessible from both networks and both routers can forward ports to other computers in their network. The networks are 10.10.0.1/24 and 172.22.0.1/24. I've tried turning off iptables but that didn't change anything.

Is there any kind of setting that could prevent the interface on the computer to reject traffic using NAT or something?

If I disable the interface on the working network (ifdown eth1) then suddenly eth0 on the other networks starts accepting requests sent to it via the router that does the port forwarding. I do however want to emphasize that services work just fine as long as the requests originate from either of the networks they are on.

View 3 Replies View Related

Ubuntu One :: U1 Windows Port / Favorites Mgmt Via Web Interface ETA?

May 1, 2010

I have some legitimate business needs for the U1 Windows client port. Is there an ETA for this project completion?

Also, I have a personal need for management of the Favorites synching via the web management interface. When will this be rolled out?

View 1 Replies View Related

Networking :: Configure Port Forwarding Using Webmin Web Interface?

Feb 7, 2010

How to configure Port Forwarding using Webmin Web Interface? Example: 118.103.211.22:80 forward to 192.168.100.1:80

View 3 Replies View Related

Programming :: Create Inverted Files To Associate Files To Numbers ( Numbers Being The Index Of My Paths )?

Apr 4, 2011

am writing a small search program for my class. I have decided to use indexing for my program. Ive researched online about indexing and how search engines do it. If im gonno do that I need to create inverted files to associate files to numbers ( numbers being the index of my paths ) . Now I was wondering what would be the best way to create an inverted file ? I was going to create sql tables using mysql api in C but then again there is no array data type or vectors to store few numbers in a single column in mysql and it is not advised to use Enum or SET

View 14 Replies View Related

General :: Unable To Use GUI Interface Meant Graphics Interface?

Apr 11, 2011

i am using windows 7 in my laptop and linux is installed on virtualBox but my problem is the screen is showing small in virtualbox is there any way to enalarge the screen to show like windows screen? i did before by using VGA setting but it made problem me i was not able to use GUI interface i meant graphics interface
it was just showing me Command Prompt.

View 8 Replies View Related

Fedora :: Inactive Network Interface Card?

Aug 29, 2009

tell me how to activate my wired NIC permanently?Also, how do I disable the 'work offline' check box in Firefox.At present I am required to action both before accessing internet.

View 2 Replies View Related

Networking :: Cannot Ping Virtual Interface On WAN Card

Feb 1, 2010

I have an ubuntu server that I am using as a gateway router. I have 2 nics in the machine and am using iptables to run the NAT.I now have a need to provide several machines on the inside of the network with their own public IP. So I created a virtual interface on the the WAN card and attempted a 1:1 nat across it, but it's not working. The virtual interface isn't even responding to pings. If I ping the ip of the virtual interface from the outside, it doesn't work. If I run a tcpdump on the interface, I can see ICMP request packets but no replies. Watching the same dump while pinging the non-virtual interface IP results in both request and reply packets. What's stranger the inbound ICMP request packets on the virtual interface seem to be hit or miss. Sometimes when I ping it, I can see the request packets hitting the interface, sometimes I get nothing.

View 1 Replies View Related

Hardware :: New Network Card Not Mapping To Ethernet Interface?

Feb 21, 2011

I've added a 2nd ethernet network card into my linux box. After I installed it the box recognized the new card and mapped it to eth1, as I expect. I then configured the addresses and routing for my eth0 and eth1 interface. Since then I had shutdown my box.When I next started my linux box up only eth0 was present.`ifconfig -a` only displays eth0, but `lspci` lists both cards. How can i permanently map the new pci card to eth1?

Code:

scattaneo@unthread:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1a:a0:8c:61:49
inet addr:192.168.2.108 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: 2002:c0a8:6414:1234:21a:a0ff:fe8c:6149/64 Scope:Global

[code]....

View 5 Replies View Related

Security :: Mount 2 Network Interface Card (NIC) And Make A Bridge

Apr 1, 2010

Actually i'm doing an ingenior training in SAGEM company, well i'm trying to develop an application which is able ti disturb the IP Network,my idea was is to mount 2 Network Interface Card (NIC) and make a bridge to pass the IP flow and to exploit the firewall Netfilter using iptables command.The application has to import a text file containing a binary array like this one:

0 1 0 : 0 corresponds to iptables -p ip ACCEPT
1 1 1 : 1 corresponds to iptables -p ip DROP
0 0 1

==> So the expected result is to have 5 ip datagrams dropped

My idea was: if 0 --> iptables -A FORWARD -p ip -m limit --limit-burst 1 -j ACCEPT
if 1 --> iptables -A FORWARD -p ip -m limit --limit-burst 1 -j DROP

The problem was: After executing the application and parsing the text file,
with iptables -L -v: i have

Code:
-A FORWARD -p ip -m limit --limit-burst 1 -j ACCEPT
-A FORWARD -p ip -m limit --limit-burst 1 -j DROP
-A FORWARD -p ip -m limit --limit-burst 1 -j ACCEPT

which is logic, but when i sniff with wireshark i find more packets are dropped(6,7 or 8 are dropped), like i had put more DROP rules. and sometimes i found the exact value(usually 5 dropped).

View 1 Replies View Related

CentOS 5 Hardware :: SCSI Host Interface Card Not Recognised?

Mar 16, 2009

I've just put together a Centos 5.2 system using an old Future Domain SCSI card which would allow me to hook up an external DAT drive. On its BIOS screen it advertises itself as an AHA-2920 which should be handled by the aic7xxx module. However, the module doesn't even get loaded unless I force it in /etc/rc.modules and even then it doesn't pick up the card.

View 2 Replies View Related

Ubuntu Networking :: One Card Not Recognized - System Refuses To Create Interface

Jan 10, 2010

I see there is a driver module for network card in my system. I have 2 identical network cards in my system the 1st one works well, but the second one.. My system refuses to create interface on it.... lspci

[Code]...

View 3 Replies View Related

Ubuntu :: Wireless Card Won't Stay Connected - Iwconfig Says Wlan0 Is Interface

Jun 11, 2010

having trouble with my asus 1000 rt2860 wireless n card and WPA/PSK/WPA2 connections. Funky thing is it worked in the 2.26.32-21 kernel (iwconfig shows ra0 as the wireless interface), but when the kernel was updated and pushed through in the ubuntu updates to 2.26.32-22 the wireless card won't stay connected and iwconfig says wlan0 is the interface. I checked the proprietary drivers and they said that the driver for my card was active, but not in use. How do I use the ra0 instead of wlan0?

how do i use the driver that's listed as not being used? I'm having to boot up lucid with the older kernel now, it's annoying, lots of programs aren't running as expected as a result. I've tried manually installing the driver from the RaLink website as detailed in many other posts concerning this wireless card. It seems to work for some people, but not with me.

View 1 Replies View Related

Server :: Use / Port "Dialupadmin Interface" On/to Windows?

Aug 20, 2010

there's a web-based administrative tool "Dialupadmin Interface" which is .tar.gz, but i want to run it on windows cz i'm noob in the linux/unix environement. is there a way to do that? any1 used this prog b4?

View 4 Replies View Related

Red Hat / Fedora :: HBA Card - Connect The HBA To Another Switch Port

Dec 3, 2010

I have 2 HBA's in my system, in that one shows as READY state and the other HBA shows as DEAD state. I have asked the datacenter guys to to connect the HBA to another switch port and I rebooted the server. After reboot the second HBA came to READY state but after some time again it went to DEAD state.

Host adapter:loop state = <DEAD>, flags = 0x45a03

Is this the problem with the server or with the storage end

View 5 Replies View Related







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