Re: add an extra ip address to fedora server (one net card)

2009-08-29 Thread Bill Davidsen

online.service@gmail.com wrote:

Thanks

This is the info
-
eth0  Link encap:Ethernet  HWaddr 00:19:99:0D:CC:14
  inet addr:77.78.8.89  Bcast:77.78.8.89  Mask:255.255.255.255
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:509 errors:0 dropped:0 overruns:0 frame:0
  TX packets:473 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:72383 (70.6 KiB)  TX bytes:195760 (191.1 KiB)
  Interrupt:23 Base address:0xe000

Clink suggested letting DHCP configure your system, and if that's what it gave 
you it is really broken! This would leave your system only talking to itself.


How about letting DHCP do you settings then post the output of netstat -rn 
back to us?


--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: add an extra ip address to fedora server (one net card)

2009-08-28 Thread Rick Stevens

online.service@gmail.com wrote:

Thanks all,

I will have two static ips as 77.78.8.111 and 77.78.8.89

I will have this configure:


DEVICE=eth0:0
BOOTPROTO=static
IPADDR=77.78.8.111
BROADCAST = ???
NETWORK=
NETMASK=255.255.255.0
TYPE=Ethernet
ONBOOT=yes


and

DEVICE=eth0:1
BOOTPROTO=static
IPADDR=77.78.8.89
BROADCAST = ??
NETWORK=
NETMASK=255.255.255.0
TYPE=Ethernet
ONBOOT=yes



What value would for BROADCAST and NETMASK ?


You really don't need to specify either.  The system will sort it out,
but to answer your question, in both cases they'd be:

BROADCAST=77.78.8.255
NETWORK=77.78.8.0

NETWORK is the IP address masked by (ANDed with) the network mask.
BROADCAST is the NETWORK address with all the host bits set to ones.
--
- Rick Stevens, Systems Engineer  ri...@nerd.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
- It is better to have loved and lost.  Cheaper, too!-
--

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


add an extra ip address to fedora server (one net card)

2009-08-27 Thread online.service....@gmail.com
Hi all,

I like to add an extra ip address to my fedora server. But here is my
ifcfg-eth0 file in under /etc/sysconfig/network-scripts directory

DEVICE=eth0
BOOTPROTO=dhcp
TYPE=Ethernet
ONBOOT=yes

there is no IPADDR field. Where possibly i can find IPADDR gets defined?


Thanks!
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: add an extra ip address to fedora server (one net card)

2009-08-27 Thread Mikkel L. Ellertson
online.service@gmail.com wrote:
 Hi all,
 
 I like to add an extra ip address to my fedora server. But here is my
 ifcfg-eth0 file in under /etc/sysconfig/network-scripts directory
 
 DEVICE=eth0
 BOOTPROTO=dhcp
 TYPE=Ethernet
 ONBOOT=yes
 
 there is no IPADDR field. Where possibly i can find IPADDR gets defined?
 
 
 Thanks!
 
The reason there is not IPADDR is because you are using DHCP to get
the IP address, as well as things like the netmask, DNS information,
and gateway. This makes it hard to add a second address. The usual
way to do it is with a static address, and using an alias to eth0
for the second address. (eth0:1)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: add an extra ip address to fedora server (one net card)

2009-08-27 Thread Clint Dilks

online.service@gmail.com wrote:

Hi all,

I like to add an extra ip address to my fedora server. But here is my 
ifcfg-eth0 file in under /etc/sysconfig/network-scripts directory


DEVICE=eth0
BOOTPROTO=dhcp
TYPE=Ethernet
ONBOOT=yes

there is no IPADDR field. Where possibly i can find IPADDR gets defined?


Thanks!

This indicates you are getting an address via DHCP.

In order to setup a second interface you can either use 
system-config-network and look at setting up an alias. Or manually convert


//etc/sysconfig/network-scripts/ifcfg-eth0 to 
/etc/sysconfig/network-scripts/ifcfg-eth0:0 and 
/etc/sysconfig/network-scripts/ifcfg-eth0:1 making sure that the files contain 
the information that you need.

The Link below seems to be a good example of what needs to be done.

http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php


///

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: add an extra ip address to fedora server (one net card)

2009-08-27 Thread online.service....@gmail.com
Thanks all,

I will have two static ips as 77.78.8.111 and 77.78.8.89

I will have this configure:


DEVICE=eth0:0
BOOTPROTO=static
IPADDR=77.78.8.111
BROADCAST = ???
NETWORK=
NETMASK=255.255.255.0
TYPE=Ethernet
ONBOOT=yes


and

DEVICE=eth0:1
BOOTPROTO=static
IPADDR=77.78.8.89
BROADCAST = ??
NETWORK=
NETMASK=255.255.255.0
TYPE=Ethernet
ONBOOT=yes



What value would for BROADCAST and NETMASK ?



Thanks again

On Thu, Aug 27, 2009 at 8:12 PM, Clint Dilks cli...@scms.waikato.ac.nzwrote:

 online.service@gmail.com wrote:

 Hi all,

 I like to add an extra ip address to my fedora server. But here is my
 ifcfg-eth0 file in under /etc/sysconfig/network-scripts directory

 DEVICE=eth0
 BOOTPROTO=dhcp
 TYPE=Ethernet
 ONBOOT=yes

 there is no IPADDR field. Where possibly i can find IPADDR gets defined?


 Thanks!

 This indicates you are getting an address via DHCP.

 In order to setup a second interface you can either use
 system-config-network and look at setting up an alias. Or manually convert

 //etc/sysconfig/network-scripts/ifcfg-eth0 to
 /etc/sysconfig/network-scripts/ifcfg-eth0:0 and
 /etc/sysconfig/network-scripts/ifcfg-eth0:1 making sure that the files
 contain the information that you need.

 The Link below seems to be a good example of what needs to be done.


 http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php


 ///

 --
 fedora-list mailing list
 fedora-list@redhat.com
 To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 Guidelines:
 http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: add an extra ip address to fedora server (one net card)

2009-08-27 Thread Clint Dilks

online.service@gmail.com wrote:

Thanks all,

I will have two static ips as 77.78.8.111 and 77.78.8.89

I will have this configure:


DEVICE=eth0:0
BOOTPROTO=static
IPADDR=77.78.8.111
BROADCAST = ???
NETWORK=
NETMASK=255.255.255.0
TYPE=Ethernet
ONBOOT=yes


and

DEVICE=eth0:1
BOOTPROTO=static
IPADDR=77.78.8.89
BROADCAST = ??
NETWORK=
NETMASK=255.255.255.0
TYPE=Ethernet
ONBOOT=yes



What value would for BROADCAST and NETMASK ?



Thanks again

On Thu, Aug 27, 2009 at 8:12 PM, Clint Dilks 
cli...@scms.waikato.ac.nz mailto:cli...@scms.waikato.ac.nz wrote:


online.service.com http://online.service.com@gmail.com
http://gmail.com wrote:

Hi all,

I like to add an extra ip address to my fedora server. But
here is my ifcfg-eth0 file in under
/etc/sysconfig/network-scripts directory

DEVICE=eth0
BOOTPROTO=dhcp
TYPE=Ethernet
ONBOOT=yes

there is no IPADDR field. Where possibly i can find IPADDR
gets defined?


Thanks!

This indicates you are getting an address via DHCP.

In order to setup a second interface you can either use
system-config-network and look at setting up an alias. Or manually
convert

//etc/sysconfig/network-scripts/ifcfg-eth0 to
/etc/sysconfig/network-scripts/ifcfg-eth0:0 and
/etc/sysconfig/network-scripts/ifcfg-eth0:1 making sure that the
files contain the information that you need.

The Link below seems to be a good example of what needs to be done.


http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php


///

-- 
fedora-list mailing list

fedora-list@redhat.com mailto:fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines:
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Hi,

What I suggest you do is have your system configured as it was via DHCP 
and then use the command ifconfig eth0 to see what the broadcast and 
network are being set to.  Then modify your configuration to match.


Ideally if you don't understand this already you should talk to the 
person who setup the DHCP server on your network to make sure you are 
doing things correctly.  If the DHCP server is being provided by a home 
router that no one has set up for you previous and you move to static 
addresses it is likely that you will have to configure NAT manually on 
your home router to get things working correctly.


Good Luck

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: add an extra ip address to fedora server (one net card)

2009-08-27 Thread online.service....@gmail.com
Thanks

This is the info
-
eth0  Link encap:Ethernet  HWaddr 00:19:99:0D:CC:14
  inet addr:77.78.8.89  Bcast:77.78.8.89  Mask:255.255.255.255
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:509 errors:0 dropped:0 overruns:0 frame:0
  TX packets:473 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:72383 (70.6 KiB)  TX bytes:195760 (191.1 KiB)
  Interrupt:23 Base address:0xe000

lo    Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

--

I am trying to configure a dedicated hosting server





On Thu, Aug 27, 2009 at 8:46 PM, Clint Dilks cli...@scms.waikato.ac.nz wrote:

 online.service@gmail.com wrote:

 Thanks all,

 I will have two static ips as 77.78.8.111 and 77.78.8.89

 I will have this configure:


 DEVICE=eth0:0
 BOOTPROTO=static
 IPADDR=77.78.8.111
 BROADCAST = ???
 NETWORK=
 NETMASK=255.255.255.0
 TYPE=Ethernet
 ONBOOT=yes


 and

 DEVICE=eth0:1
 BOOTPROTO=static
 IPADDR=77.78.8.89
 BROADCAST = ??
 NETWORK=
 NETMASK=255.255.255.0
 TYPE=Ethernet
 ONBOOT=yes



 What value would for BROADCAST and NETMASK ?



 Thanks again

 On Thu, Aug 27, 2009 at 8:12 PM, Clint Dilks cli...@scms.waikato.ac.nz 
 mailto:cli...@scms.waikato.ac.nz wrote:

    online.service.com http://online.service.com@gmail.com
    http://gmail.com wrote:

        Hi all,

        I like to add an extra ip address to my fedora server. But
        here is my ifcfg-eth0 file in under
        /etc/sysconfig/network-scripts directory

        DEVICE=eth0
        BOOTPROTO=dhcp
        TYPE=Ethernet
        ONBOOT=yes

        there is no IPADDR field. Where possibly i can find IPADDR
        gets defined?


        Thanks!

    This indicates you are getting an address via DHCP.

    In order to setup a second interface you can either use
    system-config-network and look at setting up an alias. Or manually
    convert

    //etc/sysconfig/network-scripts/ifcfg-eth0 to
    /etc/sysconfig/network-scripts/ifcfg-eth0:0 and
    /etc/sysconfig/network-scripts/ifcfg-eth0:1 making sure that the
    files contain the information that you need.

    The Link below seems to be a good example of what needs to be done.

    
 http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php


    ///

    --    fedora-list mailing list
    fedora-l...@redhat.com mailto:fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    Guidelines:
    http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


 Hi,

 What I suggest you do is have your system configured as it was via DHCP and 
 then use the command ifconfig eth0 to see what the broadcast and network are 
 being set to.  Then modify your configuration to match.

 Ideally if you don't understand this already you should talk to the person 
 who setup the DHCP server on your network to make sure you are doing things 
 correctly.  If the DHCP server is being provided by a home router that no one 
 has set up for you previous and you move to static addresses it is likely 
 that you will have to configure NAT manually on your home router to get 
 things working correctly.

 Good Luck

 --
 fedora-list mailing list
 fedora-list@redhat.com
 To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines