Find the answer to your Linux question:
Results 1 to 5 of 5
Hello: How can I find a description of the network settings listed in sysfs. (i.e., /proc/sys/net ). I would like to configure the network parameters using sysfs. For instance, how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    27

    How to configure Network Parameters using sysfs


    Hello:

    How can I find a description of the network settings listed in sysfs.
    (i.e., /proc/sys/net ).

    I would like to configure the network parameters using sysfs.
    For instance, how can I set the advertised link speeds using sysfs. Is this even possible? {I don't have ethtool onboard}

    Regards,

    --b

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    Not sure you can. Pretty sure that info is available in dmesg though:

    e.g.
    Code:
    dmesg | grep eth1
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    27
    Let me clarify.
    Here is a list of the settings I am trying to understand.
    Where can I find these described?
    In particular, can we adjust link settings using these?

    B

    Code:
    iCVR-00003F# du -a /proc/sys/net/
    0       /proc/sys/net/core/somaxconn
    0       /proc/sys/net/core/wmem_max
    0       /proc/sys/net/core/rmem_max
    0       /proc/sys/net/core/wmem_default
    0       /proc/sys/net/core/rmem_default
    0       /proc/sys/net/core/dev_weight
    0       /proc/sys/net/core/netdev_max_backlog
    0       /proc/sys/net/core/message_cost
    0       /proc/sys/net/core/message_burst
    0       /proc/sys/net/core/optmem_max
    0       /proc/sys/net/core/netdev_budget
    0       /proc/sys/net/core/warnings
    0       /proc/sys/net/core
    0       /proc/sys/net/ipv4/route/gc_thresh
    0       /proc/sys/net/ipv4/route/max_size
    0       /proc/sys/net/ipv4/route/gc_min_interval
    0       /proc/sys/net/ipv4/route/gc_min_interval_ms
    0       /proc/sys/net/ipv4/route/gc_timeout
    0       /proc/sys/net/ipv4/route/gc_interval
    0       /proc/sys/net/ipv4/route/redirect_load
    0       /proc/sys/net/ipv4/route/redirect_number
    0       /proc/sys/net/ipv4/route/redirect_silence
    0       /proc/sys/net/ipv4/route/error_cost
    0       /proc/sys/net/ipv4/route/error_burst
    0       /proc/sys/net/ipv4/route/gc_elasticity
    0       /proc/sys/net/ipv4/route/mtu_expires
    0       /proc/sys/net/ipv4/route/min_pmtu
    0       /proc/sys/net/ipv4/route/min_adv_mss
    0       /proc/sys/net/ipv4/route/secret_interval
    0       /proc/sys/net/ipv4/route/flush
    0       /proc/sys/net/ipv4/route
    0       /proc/sys/net/ipv4/neigh/default/mcast_solicit
    0       /proc/sys/net/ipv4/neigh/default/ucast_solicit
    0       /proc/sys/net/ipv4/neigh/default/app_solicit
    0       /proc/sys/net/ipv4/neigh/default/retrans_time
    0       /proc/sys/net/ipv4/neigh/default/base_reachable_time
    0       /proc/sys/net/ipv4/neigh/default/delay_first_probe_time
    0       /proc/sys/net/ipv4/neigh/default/gc_stale_time
    0       /proc/sys/net/ipv4/neigh/default/unres_qlen
    0       /proc/sys/net/ipv4/neigh/default/proxy_qlen
    0       /proc/sys/net/ipv4/neigh/default/anycast_delay
    0       /proc/sys/net/ipv4/neigh/default/proxy_delay
    0       /proc/sys/net/ipv4/neigh/default/locktime
    0       /proc/sys/net/ipv4/neigh/default/retrans_time_ms
    0       /proc/sys/net/ipv4/neigh/default/base_reachable_time_ms
    0       /proc/sys/net/ipv4/neigh/default/gc_interval
    0       /proc/sys/net/ipv4/neigh/default/gc_thresh1
    0       /proc/sys/net/ipv4/neigh/default/gc_thresh2
    0       /proc/sys/net/ipv4/neigh/default/gc_thresh3
    0       /proc/sys/net/ipv4/neigh/default
    0       /proc/sys/net/ipv4/neigh/lo/mcast_solicit
    0       /proc/sys/net/ipv4/neigh/lo/ucast_solicit
    0       /proc/sys/net/ipv4/neigh/lo/app_solicit
    0       /proc/sys/net/ipv4/neigh/lo/retrans_time
    0       /proc/sys/net/ipv4/neigh/lo/base_reachable_time
    0       /proc/sys/net/ipv4/neigh/lo/delay_first_probe_time
    0       /proc/sys/net/ipv4/neigh/lo/gc_stale_time
    0       /proc/sys/net/ipv4/neigh/lo/unres_qlen
    0       /proc/sys/net/ipv4/neigh/lo/proxy_qlen
    0       /proc/sys/net/ipv4/neigh/lo/anycast_delay
    0       /proc/sys/net/ipv4/neigh/lo/proxy_delay
    0       /proc/sys/net/ipv4/neigh/lo/locktime
    0       /proc/sys/net/ipv4/neigh/lo/retrans_time_ms
    0       /proc/sys/net/ipv4/neigh/lo/base_reachable_time_ms
    0       /proc/sys/net/ipv4/neigh/lo
    0       /proc/sys/net/ipv4/neigh/eth0/mcast_solicit
    0       /proc/sys/net/ipv4/neigh/eth0/ucast_solicit
    0       /proc/sys/net/ipv4/neigh/eth0/app_solicit
    0       /proc/sys/net/ipv4/neigh/eth0/retrans_time
    0       /proc/sys/net/ipv4/neigh/eth0/base_reachable_time
    0       /proc/sys/net/ipv4/neigh/eth0/delay_first_probe_time
    0       /proc/sys/net/ipv4/neigh/eth0/gc_stale_time
    0       /proc/sys/net/ipv4/neigh/eth0/unres_qlen
    0       /proc/sys/net/ipv4/neigh/eth0/proxy_qlen
    0       /proc/sys/net/ipv4/neigh/eth0/anycast_delay
    0       /proc/sys/net/ipv4/neigh/eth0/proxy_delay
    0       /proc/sys/net/ipv4/neigh/eth0/locktime
    0       /proc/sys/net/ipv4/neigh/eth0/retrans_time_ms
    0       /proc/sys/net/ipv4/neigh/eth0/base_reachable_time_ms
    0       /proc/sys/net/ipv4/neigh/eth0
    0       /proc/sys/net/ipv4/neigh
    0       /proc/sys/net/ipv4/tcp_timestamps
    0       /proc/sys/net/ipv4/tcp_window_scaling
    0       /proc/sys/net/ipv4/tcp_sack
    0       /proc/sys/net/ipv4/tcp_retrans_collapse
    0       /proc/sys/net/ipv4/ip_default_ttl
    0       /proc/sys/net/ipv4/ip_no_pmtu_disc
    0       /proc/sys/net/ipv4/ip_nonlocal_bind
    0       /proc/sys/net/ipv4/tcp_syn_retries
    0       /proc/sys/net/ipv4/tcp_synack_retries
    0       /proc/sys/net/ipv4/tcp_max_orphans
    0       /proc/sys/net/ipv4/tcp_max_tw_buckets
    0       /proc/sys/net/ipv4/ip_dynaddr
    0       /proc/sys/net/ipv4/tcp_keepalive_time
    0       /proc/sys/net/ipv4/tcp_keepalive_probes
    0       /proc/sys/net/ipv4/tcp_keepalive_intvl
    0       /proc/sys/net/ipv4/tcp_retries1
    0       /proc/sys/net/ipv4/tcp_retries2
    0       /proc/sys/net/ipv4/tcp_fin_timeout
    0       /proc/sys/net/ipv4/tcp_syncookies
    0       /proc/sys/net/ipv4/tcp_tw_recycle
    0       /proc/sys/net/ipv4/tcp_abort_on_overflow
    0       /proc/sys/net/ipv4/tcp_stdurg
    0       /proc/sys/net/ipv4/tcp_rfc1337
    0       /proc/sys/net/ipv4/tcp_max_syn_backlog
    0       /proc/sys/net/ipv4/ip_local_port_range
    0       /proc/sys/net/ipv4/igmp_max_memberships
    0       /proc/sys/net/ipv4/igmp_max_msf
    0       /proc/sys/net/ipv4/inet_peer_threshold
    0       /proc/sys/net/ipv4/inet_peer_minttl
    0       /proc/sys/net/ipv4/inet_peer_maxttl
    0       /proc/sys/net/ipv4/inet_peer_gc_mintime
    0       /proc/sys/net/ipv4/inet_peer_gc_maxtime
    0       /proc/sys/net/ipv4/tcp_orphan_retries
    0       /proc/sys/net/ipv4/tcp_fack
    0       /proc/sys/net/ipv4/tcp_reordering
    0       /proc/sys/net/ipv4/tcp_ecn
    0       /proc/sys/net/ipv4/tcp_dsack
    0       /proc/sys/net/ipv4/tcp_mem
    0       /proc/sys/net/ipv4/tcp_wmem
    0       /proc/sys/net/ipv4/tcp_rmem
    0       /proc/sys/net/ipv4/tcp_app_win
    0       /proc/sys/net/ipv4/tcp_adv_win_scale
    0       /proc/sys/net/ipv4/tcp_tw_reuse
    0       /proc/sys/net/ipv4/tcp_frto
    0       /proc/sys/net/ipv4/tcp_frto_response
    0       /proc/sys/net/ipv4/tcp_low_latency
    0       /proc/sys/net/ipv4/tcp_no_metrics_save
    0       /proc/sys/net/ipv4/tcp_moderate_rcvbuf
    0       /proc/sys/net/ipv4/tcp_tso_win_divisor
    0       /proc/sys/net/ipv4/tcp_congestion_control
    0       /proc/sys/net/ipv4/tcp_abc
    0       /proc/sys/net/ipv4/tcp_mtu_probing
    0       /proc/sys/net/ipv4/tcp_base_mss
    0       /proc/sys/net/ipv4/tcp_workaround_signed_windows
    0       /proc/sys/net/ipv4/tcp_dma_copybreak
    0       /proc/sys/net/ipv4/tcp_slow_start_after_idle
    0       /proc/sys/net/ipv4/tcp_available_congestion_control
    0       /proc/sys/net/ipv4/tcp_allowed_congestion_control
    0       /proc/sys/net/ipv4/tcp_max_ssthresh
    0       /proc/sys/net/ipv4/udp_mem
    0       /proc/sys/net/ipv4/udp_rmem_min
    0       /proc/sys/net/ipv4/udp_wmem_min
    0       /proc/sys/net/ipv4/conf/all/forwarding
    0       /proc/sys/net/ipv4/conf/all/mc_forwarding
    0       /proc/sys/net/ipv4/conf/all/accept_redirects
    0       /proc/sys/net/ipv4/conf/all/secure_redirects
    0       /proc/sys/net/ipv4/conf/all/shared_media
    0       /proc/sys/net/ipv4/conf/all/rp_filter
    0       /proc/sys/net/ipv4/conf/all/send_redirects
    0       /proc/sys/net/ipv4/conf/all/accept_source_route
    0       /proc/sys/net/ipv4/conf/all/proxy_arp
    0       /proc/sys/net/ipv4/conf/all/medium_id
    0       /proc/sys/net/ipv4/conf/all/bootp_relay
    0       /proc/sys/net/ipv4/conf/all/log_martians
    0       /proc/sys/net/ipv4/conf/all/tag
    0       /proc/sys/net/ipv4/conf/all/arp_filter
    0       /proc/sys/net/ipv4/conf/all/arp_announce
    0       /proc/sys/net/ipv4/conf/all/arp_ignore
    0       /proc/sys/net/ipv4/conf/all/arp_accept
    0       /proc/sys/net/ipv4/conf/all/disable_xfrm
    0       /proc/sys/net/ipv4/conf/all/disable_policy
    0       /proc/sys/net/ipv4/conf/all/force_igmp_version
    0       /proc/sys/net/ipv4/conf/all/promote_secondaries
    0       /proc/sys/net/ipv4/conf/all
    0       /proc/sys/net/ipv4/conf/default/forwarding
    0       /proc/sys/net/ipv4/conf/default/mc_forwarding
    0       /proc/sys/net/ipv4/conf/default/accept_redirects
    0       /proc/sys/net/ipv4/conf/default/secure_redirects
    0       /proc/sys/net/ipv4/conf/default/shared_media
    0       /proc/sys/net/ipv4/conf/default/rp_filter
    0       /proc/sys/net/ipv4/conf/default/send_redirects
    0       /proc/sys/net/ipv4/conf/default/accept_source_route
    0       /proc/sys/net/ipv4/conf/default/proxy_arp
    0       /proc/sys/net/ipv4/conf/default/medium_id
    0       /proc/sys/net/ipv4/conf/default/bootp_relay
    0       /proc/sys/net/ipv4/conf/default/log_martians
    0       /proc/sys/net/ipv4/conf/default/tag
    0       /proc/sys/net/ipv4/conf/default/arp_filter
    0       /proc/sys/net/ipv4/conf/default/arp_announce
    0       /proc/sys/net/ipv4/conf/default/arp_ignore
    0       /proc/sys/net/ipv4/conf/default/arp_accept
    0       /proc/sys/net/ipv4/conf/default/disable_xfrm
    0       /proc/sys/net/ipv4/conf/default/disable_policy
    0       /proc/sys/net/ipv4/conf/default/force_igmp_version
    0       /proc/sys/net/ipv4/conf/default/promote_secondaries
    0       /proc/sys/net/ipv4/conf/default
    0       /proc/sys/net/ipv4/conf/lo/forwarding
    0       /proc/sys/net/ipv4/conf/lo/mc_forwarding
    0       /proc/sys/net/ipv4/conf/lo/accept_redirects
    0       /proc/sys/net/ipv4/conf/lo/secure_redirects
    0       /proc/sys/net/ipv4/conf/lo/shared_media
    0       /proc/sys/net/ipv4/conf/lo/rp_filter
    0       /proc/sys/net/ipv4/conf/lo/send_redirects
    0       /proc/sys/net/ipv4/conf/lo/accept_source_route
    0       /proc/sys/net/ipv4/conf/lo/proxy_arp
    0       /proc/sys/net/ipv4/conf/lo/medium_id
    0       /proc/sys/net/ipv4/conf/lo/bootp_relay
    0       /proc/sys/net/ipv4/conf/lo/log_martians
    0       /proc/sys/net/ipv4/conf/lo/tag
    0       /proc/sys/net/ipv4/conf/lo/arp_filter
    0       /proc/sys/net/ipv4/conf/lo/arp_announce
    0       /proc/sys/net/ipv4/conf/lo/arp_ignore
    0       /proc/sys/net/ipv4/conf/lo/arp_accept
    0       /proc/sys/net/ipv4/conf/lo/disable_xfrm
    0       /proc/sys/net/ipv4/conf/lo/disable_policy
    0       /proc/sys/net/ipv4/conf/lo/force_igmp_version
    0       /proc/sys/net/ipv4/conf/lo/promote_secondaries
    0       /proc/sys/net/ipv4/conf/lo
    0       /proc/sys/net/ipv4/conf/eth0/forwarding
    0       /proc/sys/net/ipv4/conf/eth0/mc_forwarding
    0       /proc/sys/net/ipv4/conf/eth0/accept_redirects
    0       /proc/sys/net/ipv4/conf/eth0/secure_redirects
    0       /proc/sys/net/ipv4/conf/eth0/shared_media
    0       /proc/sys/net/ipv4/conf/eth0/rp_filter
    0       /proc/sys/net/ipv4/conf/eth0/send_redirects
    0       /proc/sys/net/ipv4/conf/eth0/accept_source_route
    0       /proc/sys/net/ipv4/conf/eth0/proxy_arp
    0       /proc/sys/net/ipv4/conf/eth0/medium_id
    0       /proc/sys/net/ipv4/conf/eth0/bootp_relay
    0       /proc/sys/net/ipv4/conf/eth0/log_martians
    0       /proc/sys/net/ipv4/conf/eth0/tag
    0       /proc/sys/net/ipv4/conf/eth0/arp_filter
    0       /proc/sys/net/ipv4/conf/eth0/arp_announce
    0       /proc/sys/net/ipv4/conf/eth0/arp_ignore
    0       /proc/sys/net/ipv4/conf/eth0/arp_accept
    0       /proc/sys/net/ipv4/conf/eth0/disable_xfrm
    0       /proc/sys/net/ipv4/conf/eth0/disable_policy
    0       /proc/sys/net/ipv4/conf/eth0/force_igmp_version
    0       /proc/sys/net/ipv4/conf/eth0/promote_secondaries
    0       /proc/sys/net/ipv4/conf/eth0
    0       /proc/sys/net/ipv4/conf
    0       /proc/sys/net/ipv4/ip_forward
    0       /proc/sys/net/ipv4/ipfrag_high_thresh
    0       /proc/sys/net/ipv4/ipfrag_low_thresh
    0       /proc/sys/net/ipv4/ipfrag_time
    0       /proc/sys/net/ipv4/icmp_echo_ignore_all
    0       /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
    0       /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
    0       /proc/sys/net/ipv4/icmp_errors_use_inbound_ifaddr
    0       /proc/sys/net/ipv4/icmp_ratelimit
    0       /proc/sys/net/ipv4/icmp_ratemask
    0       /proc/sys/net/ipv4/rt_cache_rebuild_count
    0       /proc/sys/net/ipv4/ipfrag_secret_interval
    0       /proc/sys/net/ipv4/ipfrag_max_dist
    0       /proc/sys/net/ipv4
    0       /proc/sys/net/unix/max_dgram_qlen
    0       /proc/sys/net/unix
    0       /proc/sys/net

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Have you tried here? Seems to have some of what you are looking for explained.

  6. #5
    Just Joined!
    Join Date
    Oct 2006
    Posts
    27
    Thanks,
    that link describes each parameter.
    --B

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •