General :: Configuring IPv6 Automatically And IPv4 Statically?

May 6, 2011

I've got a Ubuntu Linux box that has two IPv4 addresses and an IPv6 address. This is my current /etc/network/interfaces:

auto lo
iface lo inet loopback
auto eth0 eth0:0

[code]....

View 1 Replies


ADVERTISEMENT

General :: Use Ipv6 To Access Website While Only Ipv4 Is Supported In Network?

Feb 6, 2011

I'm using Ubuntu Linux as my operating system.In my network only the ipv4 is suported, and I need to access some website through ipv6. How can I do it, is there a way to tunnel from the ipv4 to ipv6.

View 2 Replies View Related

Debian Configuration :: Setting Up NAT And Firewalling For Both IPv4 And IPv6

Mar 21, 2010

setting up NAT and firewalling for both IPv4 and IPv6. The machine is headless, so everything must be configured via CLI. I've done all IPv4 firewall configuration writing iptables rules in a bash script so far

View 1 Replies View Related

Ubuntu :: Processes Listening To Ports / Ipv4 | Ipv6 Only

Jul 3, 2011

I'm running a native dual-stack (ipv4 & ipv6) dsl connection.So, I've been adding firewall rules, cleaning up unwanted processes, etc to tighten security.I'm left with only 3 processes that are listening to ports. mysql, ipp & ssh.Still not quite sure I need mysql. I run Amarok but without using a database, so I don't actually use sql for anything that I'm aware of.Anyway, my question is;Is it possible to make any any of these processes listen to ipv4 only or ipv6 only? Is there a distinction there at all?

Example- ssh is currently listening to port 22 on both tcp & tcp6. I do all my ssh connections using 'ssh -6', so, Can I make ssh listen to tcp6 only, or ignore tcp ?

View 3 Replies View Related

Ubuntu Networking :: Apache Binds To Ipv6 But Not To Ipv4?

Sep 1, 2011

On my 10.04 LTS Ubuntu Server installation, apache2 doesn't bind to ipv4. It does bind to ipv6. I didn't notice this at first, because from my home connection I could visit the webpages without trouble. I noticed it running netstats -ta:

Code:
tcp 0 0 localhost:10024 *:* LISTEN
tcp 0 0 localhost:10025 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 localhost:spamd *:* LISTEN

[Code].....

View 2 Replies View Related

OpenSUSE Network :: Assign IPv4 And IPV6 Static Addresses?

Feb 19, 2010

How do I assign IPv4 and IPv6 static addresses permanently in OpenSUSE 11.2? Currently I am only able to assign either IPv4 or IPv6 static address not both. I cannot find even the interfaces file(/etc/sysconfig/network/interfaces).

View 2 Replies View Related

Ubuntu Servers :: Bind9 Attempting Ipv6 On Ipv4 Network

Oct 29, 2010

After upgrading from 9.10 to 10.04, a hundred or so of (for example)

Code:
error (network unreachable) resolving '14.42.117.203.in-addr.arpa/PTR/IN': 2001:500:13::c7d4:35#53: 1 Time(s)

messages appear in syslog each day. Each URL has from 2 - 6 attempts at various ipv6 addresses. My question is why is bind9 trying to resolve ipv6 addresses? I have done nothing to enable or disable ipv6 and thought that if not explicitly enabled I would not have to be concerned with it.

View 1 Replies View Related

Networking :: Enable Duel Ipv4 / Ipv6 Stack On System?

Mar 12, 2010

How do you I use duel stack i.e How do I use ipv6 packet inside ipv4 packet using fedora kernel 12 ?

View 1 Replies View Related

Ubuntu Servers :: Modify Apache IPv4 Configuration To IPv6 Config?

Feb 25, 2011

I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.

View 1 Replies View Related

Ubuntu Networking :: Configuring IPv4 With Fixed Ip?

Aug 2, 2010

Our router is pretty old and only capable of giving fixed ip and there is no support for IPv6. Via the gnome networkmanager I try to set a manual IP to 192.168.1.123 and a netmask to 255.255.255.0 and a default gw at 192.168.1.1 . However, this does not work.

If I open a terminal and type:

Code:
sudo ifconfig eth0 inet 192.168.1.123
sudo route add default gw 192.168.1.1
Then I get a perfectly valid connection to the internet.
ifconfig by it self returns:

[Code]....

ffor me it seems that the gnome network manager doesn't save the information that I gently ask it to.

I can fix it with the CLI commands, but I would like to know whats going on.

View 6 Replies View Related

Ubuntu Security :: Set A Rule In Iptables, Does That Rule Also Apply To Ipv6, Or Just Ipv4?

Jul 16, 2010

Question (and Google results aren't making this clear): Ubuntu has both iptables & ip6tables installed. 1. If I set a rule in iptables, does that rule also apply to ipv6, or just ipv4?

2. If "no" to above, then it would be prudent to *also* set ip6tables rules as well if I want to maintain an active firewall, correct?

3. Does ip6tables rules have the same syntax and behavior (more or less) to iptables rules - i.e. can I just copy my iptables rules & change "iptables" to "ip6tables"?

4. Any gotchas or issues that I should be aware of?

View 9 Replies View Related

Red Hat :: Disabling IPv4 Packet Forwarding: Net.ipv4.ip_forward = 0 (CentOS 5.5)?

Oct 29, 2010

I'm forging a gateway server, We have 2 Internet connection that goes to a load balancer router, and goes to my centos server and from our server goes to a switch for Internet distribution or routing.

OS-CentOS 5.5
[root@server etc]# uname -srio
Linux 2.6.18-194.el5 i386 GNU/Linux

My eth0 and eth1 has the following configuration and IP

[root@server etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# VIA Technologies, Inc. VT6105/VT6106S [Rhine-III]
DEVICE=eth0
BOOTPROTO=none

[code]....

Disabling IPv4 packet forwarding but i already changed it to 1 at sysctl.conf One of the online forum says i need to configure the named.conf deleted some and run it(named.conf) and successful but still when I run network service I still get the :"Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0" The network is getting the IP range but it doesnt get any Internet connection.

View 3 Replies View Related

Fedora Networking :: Configuring IPv6 (network) Tunnelling - Getting Only Internal Addresses From DHCP

Aug 25, 2011

I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:

Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000

he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[Code]....

View 2 Replies View Related

General :: Can't Statically Decide Virtual Address Of The Function At Compile Time?

Feb 8, 2010

I have read a couple of articles on how dynamic linking works (those stuff about got, plt and lazy binding), and I am still not sure why you need to do dynamic linking in such a complicated way.Suppose your program uses a function in a shared library that needs to be linked dynamically at run time (like a printf). Why can't you statically decide the virtual address of the function at compile time? After all, all you need to do is to enter the page table entry corresponding to the address of the function if the library has been already loaded to a physical page frame.

View 3 Replies View Related

Ubuntu :: Ip Address Is Not Configuring Automatically

Nov 23, 2010

how to do surfing in ubuntu linux. Recently i took the new broadband internet connection, so i would like to configure and set the ip address in ubuntu linux, moreover i am able to connect to internet automatically in windows XP , here the ip address is configuring automatically. but when i started the ubuntu server, my ip address is not configuring automatically , i am unable to connect to internet in ubuntu server , which i have tested in specific firefox browser , saying that network was diconnnected, however i am able to see the network notification icon which has been displayed in top of the address bar , showing that ( X ) network disconnected.

how to get resolove this issue. and same way how to set and configure ip address in ubuntu server , so i should be able to do surfing in ubuntu linux. note : i think here broadband type connection is DHCP....

View 1 Replies View Related

Hardware :: Automatically Configuring Logical Drives For HP Smart Array P400 Controller

Jan 6, 2011

Is it possible to automate the configuration of a servers raid drives (my system has a HP Smart Array P400 controller) or does that have to be done manually? Right now, when I get a rack of new servers, I have to go through each one and use the ORCA tool to setup the logical drives. I'm hoping there is some way to automate that. And forgive the lame question, but I am assuming you have to configure the logical drives before you can install the OS?

View 3 Replies View Related

Fedora Networking :: Ipv6 With Tunnel Broker - Better Client For Non Native Ipv6 Connectivity?

Jul 22, 2009

I used to play with gw6c ( a client for tunnel broker ) It works well with fedora9 , fedora 10, but not with leonidas. my rpm is gw6c-6.0-0.4.beta4.fc9.i386.rpm ( a little old!) when I tried to install i have got this: libcrypto.so.7 est ncessaire pou w6c-6.0-0.4.beta4.fc9.i386 I try to make a soft link to libcrypto.so.0.9.8k, but nothing; The question :-Is there a solution for that pb - did you know a better client for non native ipv6 connectivity?

View 2 Replies View Related

Fedora Networking :: FC15 IPV6 Wireless Router - No Longer Gets An IPv6 Address

Aug 31, 2011

I have been struggling to get FC15 to act as an IPv6 router for a while now, am sure I am missing something trivial.. The idea is that I have a ppp / adsl connection (this works fine), use the wireless card on my pc with hostapd and dhcpd to provide connections to other pcs (works fine), and radvd to delegate ipv6 addresses.

The issue seem to be that as soon as I turn on ipv6 forwarding (net.ipv6.conf.all.forwarding =1), the ppp connection no longer gets an IPv6 address. This means the router cannot ping any ipv6 address outside my network.

If I disable ipv6 routing, my router gets an IPv6 address on its ppp connection, and can ping things such as ipv6.google.com just fine, however (of course) no packets are forwarded from my network and radvd complains that forwarding is disabled.

View 1 Replies View Related

General :: Size Of An IPV4 IP Address?

Nov 16, 2010

what is the size of an IPV4 IP address?

View 2 Replies View Related

Fedora X86/64bit :: Get The Statically Linked 64 Bit Libraries For GCC ?

Sep 17, 2009

I am relatively new to fedora. We just install a 64 bit server with FC11. Everything seems to work fine until we start to compile and link some of our existing applications that use statically linked libraries such as libm.a. We are using GCC version 4.4.1 20090725.

I search online and there are a few people reporting similar issues. There are no resolution on those questions. And I can't seem to find any repositories that have those libraries. Would appreciate if anyone can direct me to the right place. This is fairly urgent as it is holdiing up the deployment of the system.

View 3 Replies View Related

Programming :: Link One Library Statically Others Dynamically - Gcc - G++

Jul 6, 2011

I would like to make gcc to link one lib (pthread in the example) statically, and the rest dynamically.

(See the example .c file at the end of this post.)

compiles fine, but every lib is linked dynamically.


Now every lib is linked statically

Not a dynamic executable

I would like to link the libpthread statically and the rest dynamically. Is it possible?

[url]says if I give the full path to the .a lib then it will be linked statically:

So for me it does not work.

On other sites I found that I should use -Wl,-Bstatic -lpthread -Wl,-Bdynamic, but it also doesn't work:

So, how can I do that?

Machine: Linux 2.6.16.60-0.27-bigsmp #1 SMP Mon Jul 28 13:06:32 UTC 2008 i686 i686 i386 GNU/Linux SLED 10

As an example I used a little demo program from [url]

Here is the code:

View 4 Replies View Related

Programming :: Compile Iputils Package Statically And Getting Error

Sep 13, 2010

I am trying to compile the iputils package on FC12 statically but badly stuck up on a below error. My requirement is; I need to have ping utility built statically.

Any clue whats missing here? Per my understanding its trying to locate the glibc and when I search for glibc rpm I can see all those packages are properly installed.

[root@bastionNUX iputils-s20100418]# make LDFLAGS="-static -s"
gcc -static -s ping.o ping_common.o -o ping
/usr/bin/ld: cannot find -lc

[Code].....

View 6 Replies View Related

General :: Give Server A Fixed IPv4 Address?

Aug 2, 2010

I am new to Linux so thought it would be a good learning exercise to try and setup an FTP server using linux.I have downloaded and installed Ubuntu 10 server edition and installed vsftpd, following instructions found on here I have configured the software and I can connect from an FTP client on my windows PC across the internal LAN.I have a couple of questions if I may:

1) a post on this forum suggests that local users can access the FTP server if the correct line is enabled in vsftpd.conf - I have done this and the fact that I can access it shows this is working I would think, however users added subsequently with the useradd command cannot access the server. Filezilla shows a could not connect to server error.

2) how do I give the server a fixed IPv4 address? It is currently using DHCP

3) I need to be able to put files into users folders for them to access offsite, but I don't want them to see each others filesfolders, can I do this?

View 5 Replies View Related

General :: Slackware 13 Automatically Lock - Ktorrent Start Automatically?

Jan 25, 2010

what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?

View 2 Replies View Related

General :: Want To Add Ipv6 Address In System

Jul 29, 2011

I want to add an ipv6 address in linux.
i am going to use the following command.
# /sbin/ifconfig <interface> inet6 add <ipv6address>/<prefixlength>
Can anyone explain how this command will works?
Is that prefix length value is fixed to 64 or is it vary?if so,can you explain how it could be?

View 3 Replies View Related

General :: Whether Should Enable Ipv6 When Installing Linux

Jun 14, 2011

What determines whether I should enable ipv6 when installing Linux? so not sure whether it depends on my ISP, my hardware (network card or modem or router), my Linux kernel, my CentOS version (5.6), my requirements, etc.

So I'm not sure whether or not I should enable it. And if I were to, in the CentOS installation screen would I select 'Automatic neighbor discovery' or 'Dynamic IP configuration' or 'Manual configuration'?

View 1 Replies View Related

OpenSUSE Network :: IPV6 Disabling In Suse In General?

Apr 10, 2011

I've had a hell of a time with this and now all but YAST2 are ok. Going back some time to 10.0 this could be used to disable it very completely.

open terminal and run
echo "alias net-pf-10 off" >> /etc/modprobe.conf
echo "alias ipv6 off" >> /etc/modprobe.conf

restart computer. Has anyone used this on more recent issues even 11.4 and are there any repercussions?I assume that the inverse will but it back on ie off's just become on's? I will be using cups when I install my printer which is one concern and I am not at all sure that modprobe will do anything anymore?

I also recollect that there is a command to cause the kernel to effectively reboot which would save restarting. Can't remember what it is. Maybe some one can refresh my memory.

View 9 Replies View Related

General :: Unable To Close SSHD On IPv6 TCP Port?

Aug 23, 2011

I'm running Ubuntu 10.4 and I've tried disabling IPv6 as I don't currently need it. I rand the following to disable IPv6 and then rebooted my server:

echo "#disable ipv6" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf

After the reboot I can see that IPv& is disabled by running:

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

On running netstat -antlp i see that most of the IPv6 applications have closed but SSHd keeps running:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 663/java

[Code]....

Ho can I close the SSH daemon on port 22 of the IPv6?

View 2 Replies View Related

General :: Open Source TCP - IPv6 Server Software Out There?

May 29, 2010

I am looking for TCP/IP server software to deliver internet, VoIP, and IPTV service over that supports IPv6 and is open source. ?

View 1 Replies View Related

General :: Kernel Crashed When The Module Tries To Send IPv6 Packet?

Oct 10, 2010

I am facing problem(system gets crash) while I try to send IPv6 packet by using my kernel module. I have given the code and makefile for my module. I will appreciate if any one shares any tester module for sending IPv6 packets.The kernel version that I am using is 2.6.9 and it supports for IPv6.

file name: rtp_pkt_tx.c
#include "linux/kernel.h"
#include "linux/module.h"
#include "linux/skbuff.h"
#include "linux/init.h"

[Code]...

View 1 Replies View Related







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